aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-09-30 14:32:42 +1000
committerNeil <nyamatongwe@gmail.com>2013-09-30 14:32:42 +1000
commit973d219c3051089dd2ccab7785dc7b8ac9334105 (patch)
tree9715b0beb4120f643074bffd1f1ee0c641f6a619 /gtk/ScintillaGTK.cxx
parentf38c02c44304e40b1a406c8ce21173a0568a99a0 (diff)
downloadscintilla-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 'gtk/ScintillaGTK.cxx')
-rw-r--r--gtk/ScintillaGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 273333465..91c1250fc 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1208,6 +1208,7 @@ void ScintillaGTK::NotifyFocus(bool focus) {
g_signal_emit(G_OBJECT(sci), scintilla_signals[COMMAND_SIGNAL], 0,
Platform::LongFromTwoShorts
(GetCtrlID(), focus ? SCEN_SETFOCUS : SCEN_KILLFOCUS), PWidget(wMain));
+ Editor::NotifyFocus(focus);
}
void ScintillaGTK::NotifyParent(SCNotification scn) {