aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-01-24 23:09:28 +0000
committernyamatongwe <unknown>2007-01-24 23:09:28 +0000
commit31e9679fd022236ad54303ce6a92573455e1eee8 (patch)
tree7a6047913865d7a93ab2f59dedea5f6c981cbc89 /win32
parentfea85b2567041c72df20ba3c80f30e717c050395 (diff)
downloadscintilla-mirror-31e9679fd022236ad54303ce6a92573455e1eee8.tar.gz
Set the modifiers field on the SCN_DOUBLECLICK notification so the SCI_SHIFT, SCI_CTRL,
and SCI_ALT bits may be set.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 249e74646..d620f76ff 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -199,7 +199,7 @@ class ScintillaWin :
virtual void NotifyFocus(bool focus);
virtual int GetCtrlID();
virtual void NotifyParent(SCNotification scn);
- virtual void NotifyDoubleClick(Point pt, bool shift);
+ virtual void NotifyDoubleClick(Point pt, bool shift, bool ctrl, bool alt);
virtual void Copy();
virtual bool CanPaste();
virtual void Paste();
@@ -1168,9 +1168,9 @@ void ScintillaWin::NotifyParent(SCNotification scn) {
GetCtrlID(), reinterpret_cast<LPARAM>(&scn));
}
-void ScintillaWin::NotifyDoubleClick(Point pt, bool shift) {
+void ScintillaWin::NotifyDoubleClick(Point pt, bool shift, bool ctrl, bool alt) {
//Platform::DebugPrintf("ScintillaWin Double click 0\n");
- ScintillaBase::NotifyDoubleClick(pt, shift);
+ ScintillaBase::NotifyDoubleClick(pt, shift, ctrl, alt);
// Send myself a WM_LBUTTONDBLCLK, so the container can handle it too.
::SendMessage(MainHWND(),
WM_LBUTTONDBLCLK,