aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-12-19 07:33:22 +0000
committernyamatongwe <unknown>2001-12-19 07:33:22 +0000
commitf3801f3ee91582dbe10abec295840c794da1858e (patch)
treee2e72ed81ee14d4cd1accb2c23b33775e39d4d37 /src
parentb1e7aaa793be9971d24d426c60923a072211c356 (diff)
downloadscintilla-mirror-f3801f3ee91582dbe10abec295840c794da1858e.tar.gz
Fixed the last X click position to be within the text when the click is
past the end of the line.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
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);
}