From 31e9679fd022236ad54303ce6a92573455e1eee8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 24 Jan 2007 23:09:28 +0000 Subject: Set the modifiers field on the SCN_DOUBLECLICK notification so the SCI_SHIFT, SCI_CTRL, and SCI_ALT bits may be set. --- win32/ScintillaWin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win32') 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(&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, -- cgit v1.2.3