aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
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 /cocoa
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 'cocoa')
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index ce1042e9b..79332eda6 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1708,6 +1708,8 @@ void ScintillaCocoa::NotifyFocus(bool focus)
(uintptr_t) this);
if (delegateHasCommand)
[delegate command:(focus ? SCEN_SETFOCUS : SCEN_KILLFOCUS) idFrom:GetCtrlID()];
+
+ Editor::NotifyFocus(focus);
}
//--------------------------------------------------------------------------------------------------