diff options
author | nyamatongwe <devnull@localhost> | 2001-12-19 07:33:22 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-12-19 07:33:22 +0000 |
commit | f7efb69b3e636f340bd6a956982ee4eb2ba1c8ab (patch) | |
tree | e2e72ed81ee14d4cd1accb2c23b33775e39d4d37 /src/Editor.cxx | |
parent | 60d8907ec2537c1b16fe336183ae1cebd35a241f (diff) | |
download | scintilla-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.cxx | 3 |
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); } |