diff options
author | nyamatongwe <unknown> | 2012-04-24 08:49:56 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-04-24 08:49:56 +1000 |
commit | ad1ed1d2e34ef29a829991745dc4232a1867c09a (patch) | |
tree | 0bc6c3e788b4a3db6ffda6af87da2f6515b8fec8 /src | |
parent | 324812758ecf27eeb9d0e68f2d74fbb5ac01cd42 (diff) | |
download | scintilla-mirror-ad1ed1d2e34ef29a829991745dc4232a1867c09a.tar.gz |
Feature #3520037. Restore Ctrl+Triple Click adding a line to the selection.
Collapse selection if multiple selection turned off.
From Marko Njezic.
Diffstat (limited to 'src')
-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 |