Changeset 11825 for trunk/sources/HeuristicLab.CodeEditor/3.4/CodeEditor.cs
- Timestamp:
- 01/26/15 16:33:53 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CodeEditor/3.4/CodeEditor.cs
r11804 r11825 383 383 int offset = line.Offset; 384 384 if (TextUtilities.GetLeadingWhitespace(Doc, line).Length > 0) 385 offset = TextUtilities.GetNextCaretPosition(Doc, offset, LogicalDirection.Forward, CaretPositioningMode.Word Start);385 offset = TextUtilities.GetNextCaretPosition(Doc, offset, LogicalDirection.Forward, CaretPositioningMode.WordBorder); 386 386 TextEditor.CaretOffset = offset; 387 387 }
Note: See TracChangeset
for help on using the changeset viewer.