aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-04-23 19:24:33 +1000
committernyamatongwe <unknown>2012-04-23 19:24:33 +1000
commit324812758ecf27eeb9d0e68f2d74fbb5ac01cd42 (patch)
treef257a9d5a29dcaa449cc89e341947540096e1a27 /src
parentcc20a938e43074f0930a7348d1e5d489f3c5b41e (diff)
downloadscintilla-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')
-rw-r--r--src/Editor.cxx2
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