From 1da4efa50a5b989115292ea66befea52c73b8b2d Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 30 Sep 2013 14:32:42 +1000 Subject: Added FocusIn and FocusOut notification events (SCN_FOCUSIN/SCN_FOCUSOUT) to be used in preference to the SCEN_SETFOCUS and SCEN_KILLFOCUS command events. --- cocoa/ScintillaCocoa.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cocoa') 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); } //-------------------------------------------------------------------------------------------------- -- cgit v1.2.3