MoveToNextWord behaves differently than Visual Studio

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
I've noticed a situation where using the MoveToNextWord feature behaves a little differently than visual studio.

Take the following C# code that appears on lines 53-60 of the sample application:

public int this[int index] {
    get {
        return array[index];
    set {
        array[index] = value;
place your caret before the ']' on the first line of the sample. You should be at Line 53, Col 34. Now press CTRL+RIGHT to move to the next word. The caret moves over by one position to the space after the ']' at Line 53, Col 35. In Visual Studio, the same scenario would have moved the caret to the '{' character at Line 53, Col 36.

Another situation...

Take the following C# code that appears on line 30 of the sample application:

return "\"Quoted \u0065 text:\" " + text + @"Verbatim \u0065";
Place the caret before the last quotation mark at Col73. Press CTRL+RIGHT. The caret jumps past the ";" and moves to the end of the line. In Visual Studio, the caret would have moved just before the ";". Interestingly enough, pressing CTRL+LEFT picks properly moves the caret before the ";". So it takes two CTRL+LEFT combinations to get back to where you were before one CTRL+RIGHT command.

Can anything be done to make this behavior more consistent with Visual Studio?


Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Thanks, these are fixed for the next maintenance release.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.