aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-19 07:33:22 +0000
committernyamatongwe <devnull@localhost>2001-12-19 07:33:22 +0000
commitf7efb69b3e636f340bd6a956982ee4eb2ba1c8ab (patch)
treee2e72ed81ee14d4cd1accb2c23b33775e39d4d37 /src/Editor.cxx
parent60d8907ec2537c1b16fe336183ae1cebd35a241f (diff)
downloadscintilla-mirror-f7efb69b3e636f340bd6a956982ee4eb2ba1c8ab.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/Editor.cxx')
-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);
}