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 | 1da4efa50a5b989115292ea66befea52c73b8b2d (patch) | |
tree | a827a78e2ee3773983019fea414af8702d7c7eda /cocoa | |
parent | ce0710d47a994b0d174b3275641a074d20cc31a8 (diff) | |
download | scintilla-mirror-1da4efa50a5b989115292ea66befea52c73b8b2d.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.mm | 2 |
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); } //-------------------------------------------------------------------------------------------------- |