diff options
author | Neil <nyamatongwe@gmail.com> | 2013-09-30 14:32:42 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-09-30 14:32:42 +1000 |
commit | 973d219c3051089dd2ccab7785dc7b8ac9334105 (patch) | |
tree | 9715b0beb4120f643074bffd1f1ee0c641f6a619 /qt/ScintillaEditBase/ScintillaQt.cpp | |
parent | f38c02c44304e40b1a406c8ce21173a0568a99a0 (diff) | |
download | scintilla-mirror-973d219c3051089dd2ccab7785dc7b8ac9334105.tar.gz |
Added FocusIn and FocusOut notification events (SCN_FOCUSIN/SCN_FOCUSOUT) to be
used in preference to the SCEN_SETFOCUS and SCEN_KILLFOCUS command events.
Diffstat (limited to 'qt/ScintillaEditBase/ScintillaQt.cpp')
-rw-r--r-- | qt/ScintillaEditBase/ScintillaQt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index d79fe3a86..2e3b9a0a5 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -392,6 +392,8 @@ void ScintillaQt::NotifyFocus(bool focus) Platform::LongFromTwoShorts (GetCtrlID(), focus ? SCEN_SETFOCUS : SCEN_KILLFOCUS), reinterpret_cast<sptr_t>(wMain.GetID())); + + Editor::NotifyFocus(focus); } void ScintillaQt::NotifyParent(SCNotification scn) |