diff options
author | nyamatongwe <devnull@localhost> | 2012-04-23 19:24:33 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-04-23 19:24:33 +1000 |
commit | 1384ea524563493a23ba97fa8d230d50462a4b16 (patch) | |
tree | 2f2b0b0afbd71cc2dd1e7138a27342b1d2d3b79a /src | |
parent | e416c429c3f634f238132b14a5a60106f1df1e37 (diff) | |
download | scintilla-mirror-1384ea524563493a23ba97fa8d230d50462a4b16.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')
-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 |