diff options
author | nyamatongwe <unknown> | 2012-04-23 19:24:33 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-04-23 19:24:33 +1000 |
commit | 324812758ecf27eeb9d0e68f2d74fbb5ac01cd42 (patch) | |
tree | f257a9d5a29dcaa449cc89e341947540096e1a27 /src/Editor.cxx | |
parent | cc20a938e43074f0930a7348d1e5d489f3c5b41e (diff) | |
download | scintilla-mirror-324812758ecf27eeb9d0e68f2d74fbb5ac01cd42.tar.gz |
Feature #3520037. Modify Ctrl+Double Click change so that does not trigger
except for transition from character selection to word selection.
Diffstat (limited to 'src/Editor.cxx')
-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 29266563a..fad58c296 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) + if ((!ctrl) || (selectionType != selChar)) SetEmptySelection(newPos.Position()); bool doubleClick = false; // Stop mouse button bounce changing selection type |