Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Disconcerting Caret Jumping
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

danielgodson
New Member

7 Posts

Posted - Apr 02 2008 :  01:30:09 AM  Show Profile  Reply with Quote
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
18952 Posts

Posted - Apr 02 2008 :  6:40:52 PM  Show Profile  Reply with Quote
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
Go to Top of Page

mopavlik
New Member

Russia
4 Posts

Posted - Apr 22 2009 :  09:24:40 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Apr 22 2009 :  1:18:49 PM  Show Profile  Reply with Quote
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
Go to Top of Page

mopavlik
New Member

Russia
4 Posts

Posted - Apr 23 2009 :  03:48:48 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

mopavlik
New Member

Russia
4 Posts

Posted - Apr 23 2009 :  04:07:56 AM  Show Profile  Reply with Quote
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!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Apr 23 2009 :  3:39:22 PM  Show Profile  Reply with Quote
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
Go to Top of Page

mopavlik
New Member

Russia
4 Posts

Posted - Apr 24 2009 :  03:38:24 AM  Show Profile  Reply with Quote
Yes! The source code starts to scroll sideways spontaneously.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Apr 24 2009 :  1:34:32 PM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000