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. --- doc/ScintillaDoc.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index d2be3b3e1..031fc0f72 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -6521,6 +6521,8 @@ struct SCNotification { SCN_AUTOCSELECTION
SCN_AUTOCCANCELLED
SCN_AUTOCCHARDELETED
+ SCN_FOCUSIN
+ SCN_FOCUSOUT

The following SCI_* messages are associated with these notifications:

@@ -6532,8 +6534,10 @@ struct SCNotification { SCI_GETIDENTIFIER
-

The following additional notifications are sent using the WM_COMMAND message on - Windows. +

The following additional notifications are sent using a secondary "command" method and should + be avoided in new code as the primary "notification" method provides all the same events with richer + information. + The WM_COMMAND message is used on Windows. This emulates the Windows Edit control. Only the lower 16 bits of the control's ID is passed in these notifications.

On GTK+, the "command" signal is sent and the signal handler should have the signature @@ -7275,6 +7279,11 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next The user deleted a character while autocompletion list was active. There is no other information in SCNotification.

+

SCN_FOCUSIN
+ SCN_FOCUSOUT
+ SCN_FOCUSIN (2028) is fired when Scintilla receives focus and + SCN_FOCUSOUT (2029) when it loses focus.

+

Images

Two formats are supported for images used in margin markers and autocompletion lists, RGBA and XPM.

-- cgit v1.2.3