From f7efb69b3e636f340bd6a956982ee4eb2ba1c8ab Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 19 Dec 2001 07:33:22 +0000 Subject: Fixed the last X click position to be within the text when the click is past the end of the line. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 68d283bc4..215ba6232 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3237,6 +3237,9 @@ void Editor::ButtonUp(Point pt, unsigned int curTime, bool ctrl) { lastClickTime = curTime; lastClick = pt; lastXChosen = pt.x; + if (selType == selStream) { + SetLastXChosen(); + } inDragDrop = false; EnsureCaretVisible(false); } -- cgit v1.2.3