diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index a11f99688..a07d0bee7 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -4930,7 +4930,8 @@ void Editor::ButtonMove(Point pt) { } // While dragging to make rectangular selection, we don't want the current // position to jump to the end of smaller or empty lines. - xEndSelect = pt.x - vs.fixedColumnWidth + xOffset; + //xEndSelect = pt.x - vs.fixedColumnWidth + xOffset; + xEndSelect = XFromPosition(movePos); // Autoscroll PRectangle rcClient = GetClientRectangle(); |