Author |
Topic  |
|
danielgodson
New Member

7 Posts |
Posted - Apr 02 2008 : 01:30:09 AM
|
I do a lot of select/CTRL+drag copying in VC6, but after installing the latest build, and during the CTRL+drag phase, this procedure causes the caret to reset to the end of the selected text.
Ie.
1. I select a (portion of a) line of text 2. I hold down the CTRL key 3. I mouse down on the selected text and begin to drag 4. At a non-specific distance from the original selection the caret will snap back to the end of the selected text and the editor will scroll horizontally so that the caret is at the left edge of the window.
I'm not sure what my last good build was but it was a while ago. When I get wound up enough I will experiment with trying prior builds until I find one that does not have the problem and then I will update this post. |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 02 2008 : 6:40:52 PM
|
How easily can you reproduce this / how often does this happen? So far I cannot reproduce this.
Does this only happen when you cause the code to scroll while dragging? Or does it happen while dragging code without scrolling vertically?
What about horizontal scrolling?
Do you have any other IDE plugins installed?
Are you running any processes that might interfear with the keyboard or the mouse? I am wondering if something might "grab" or "interrupt" the drag operation, causing this effect? |
zen is the art of being at one with the two'ness |
 |
|
mopavlik
New Member

Russia
4 Posts |
Posted - Apr 22 2009 : 09:24:40 AM
|
I will answer for topicstarter. I confirm such behaviour of the VAX on CTRL-dragging. This effect is stable and may be reproduced easily: 1. I select a portion of a text 2. I hold down the CTRL key 3. I mouse down on the selected text and begin to drag 4. I mouse up, text copied in wanted place, selection moved to this place too. 5. I start dragging again (voila!) caret is jumping to the end of selection.
No horiz and vert scrolling. The portion of text is in the window's limits. No IDE plugins installed. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 22 2009 : 1:18:49 PM
|
Thank you for the clear description. Using VC6 on a winXP machine where VA has never been installed I tried this. I started with this:

note the caret is at the start of the selection. I selected the text from right to left. Then I did a single drag, holding down Control, and I got this:

notice the caret is now at the end of the selection.
Is this what you are seeing? If so this seems to be something VC6 does on its own, without VA being involved. |
zen is the art of being at one with the two'ness |
 |
|
mopavlik
New Member

Russia
4 Posts |
Posted - Apr 23 2009 : 03:48:48 AM
|
Yes. On single copy everything is OK. But try to make several sequential copies.
Another one example:
enum enCorols{
RED=0,
GREEN,
BLUE,
YELLOW,
ORANGE,
MAGENTA,
};
BOOL Array[10];
Array[RED]=TRUE;
Array[GREEN]=;
Array[BLUE]=;
Array[YELLOW]=;
Array[ORANGE]=;
Array[MAGENTA]=;
Task is to copy the word "TRUE" to strings below between '=' and ';'. Do not release CTRL while dragging!
If I disable Visual Assist X, everythins is copying just fine. |
 |
|
mopavlik
New Member

Russia
4 Posts |
Posted - Apr 23 2009 : 04:07:56 AM
|
I wrote some video to demonstrate this effect. How can I send it for you? (avi 1.5Mb, rar 200Kb). This is not a malware, I swear!  |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 23 2009 : 3:39:22 PM
|
Please submit the files via the form:
http://www.wholetomato.com/support/contact.asp
including this thread ID or URL in the description, so we can match it up.
Using this example, if I do the drag you describe, the source code scrolls sideways after the first couple of mouse drag copies. Is this what you are seeing?
case=26188 |
zen is the art of being at one with the two'ness |
 |
|
mopavlik
New Member

Russia
4 Posts |
Posted - Apr 24 2009 : 03:38:24 AM
|
Yes! The source code starts to scroll sideways spontaneously. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19136 Posts |
Posted - Apr 24 2009 : 1:34:32 PM
|
I have the movie, thank you for this. I am seeing the same thing, and this is case=26188 |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|