Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Disconcerting Caret Jumping

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
danielgodson 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.
8   L A T E S T    R E P L I E S    (Newest First)
feline 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
mopavlik Posted - Apr 24 2009 : 03:38:24 AM
Yes! The source code starts to scroll sideways spontaneously.
feline 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
mopavlik 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!
mopavlik 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.
feline 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.
mopavlik 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 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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000