diff options
author | nyamatongwe <devnull@localhost> | 2010-12-30 09:44:12 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-12-30 09:44:12 +1100 |
commit | a3acf5d5f220b7ff2c3a9260b44da1bec97f9c59 (patch) | |
tree | 458167fc1927339455ba3cd561160cc1734f949d | |
parent | aa38adf01f4d8d5d4fb18c2ccceb272c6c18dd6e (diff) | |
download | scintilla-mirror-a3acf5d5f220b7ff2c3a9260b44da1bec97f9c59.tar.gz |
Fix entering line selection mode after two clicks. Bug #3143635.
-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; |