diff options
author | nyamatongwe <devnull@localhost> | 2012-04-24 08:49:56 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-04-24 08:49:56 +1000 |
commit | 714194532300256ca2ad6f2b8b0e04634d30f6c2 (patch) | |
tree | 2ce35be0d1367c90964d40da33268312b71526eb | |
parent | 1384ea524563493a23ba97fa8d230d50462a4b16 (diff) | |
download | scintilla-mirror-714194532300256ca2ad6f2b8b0e04634d30f6c2.tar.gz |
Feature #3520037. Restore Ctrl+Triple Click adding a line to the selection.
Collapse selection if multiple selection turned off.
From Marko Njezic.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index fad58c296..467015a84 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6233,7 +6233,7 @@ void Editor::ButtonDown(Point pt, unsigned int curTime, bool shift, bool ctrl, b if (((curTime - lastClickTime) < Platform::DoubleClickTime()) && Close(pt, lastClick)) { //Platform::DebugPrintf("Double click %d %d = %d\n", curTime, lastClickTime, curTime - lastClickTime); SetMouseCapture(true); - if ((!ctrl) || (selectionType != selChar)) + if (!ctrl || !multipleSelection || (selectionType != selChar && selectionType != selWord)) SetEmptySelection(newPos.Position()); bool doubleClick = false; // Stop mouse button bounce changing selection type |