Changeset 17385


Ignore:
Timestamp:
12/19/19 11:00:14 (14 months ago)
Author:
jkarder
Message:

#3045: fixed cursor placement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.CodeEditor/3.4/CodeEditor.cs

    r17180 r17385  
    282282    public override void ScrollToPosition(int line, int column) {
    283283      var segment = GetSegmentAtLocation(line, column);
    284       TextEditor.CaretOffset = segment.Offset + segment.Length;
     284      TextEditor.CaretOffset = segment.Offset;
    285285      TextEditor.ScrollToLine(line);
    286286    }
Note: See TracChangeset for help on using the changeset viewer.