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: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: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?
Thanks!
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;
}
}
Another situation...
Take the following C# code that appears on line 30 of the sample application:
return "\"Quoted \u0065 text:\" " + text + @"Verbatim \u0065";
Can anything be done to make this behavior more consistent with Visual Studio?
Thanks!