diff options
author | nyamatongwe <unknown> | 2010-12-30 09:44:12 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-12-30 09:44:12 +1100 |
commit | 52f41a94d5c9556ea2cc84a42ad74c6f89888374 (patch) | |
tree | aff010fb8a9e40bb9e1fce22fe6027b771de8014 /src | |
parent | d907c1fc00b233075e2751256296b004ef79e5a9 (diff) | |
download | scintilla-mirror-52f41a94d5c9556ea2cc84a42ad74c6f89888374.tar.gz |
Fix entering line selection mode after two clicks. Bug #3143635.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b0d292a44..312c39b37 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6168,6 +6168,8 @@ void Editor::ButtonUp(Point pt, unsigned int curTime, bool ctrl) { if (inDragDrop == ddInitial) { inDragDrop = ddNone; SetEmptySelection(newPos.Position()); + selectionType = selChar; + originalAnchorPos = sel.MainCaret(); } if (hotSpotClickPos != INVALID_POSITION && PointIsHotspot(pt)) { hotSpotClickPos = INVALID_POSITION; |