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 /doc/ScintillaDoc.html | |
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 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 13 |
1 files changed, 11 insertions, 2 deletions
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 { <a class="message" href="#SCN_AUTOCSELECTION">SCN_AUTOCSELECTION</a><br /> <a class="message" href="#SCN_AUTOCCANCELLED">SCN_AUTOCCANCELLED</a><br /> <a class="message" href="#SCN_AUTOCCHARDELETED">SCN_AUTOCCHARDELETED</a><br /> + <a class="message" href="#SCN_FOCUSIN">SCN_FOCUSIN</a><br /> + <a class="message" href="#SCN_FOCUSOUT">SCN_FOCUSOUT</a><br /> </code> <p>The following <code>SCI_*</code> messages are associated with these notifications:</p> @@ -6532,8 +6534,10 @@ struct SCNotification { <a class="message" href="#SCI_GETIDENTIFIER">SCI_GETIDENTIFIER</a><br /> </code> - <p>The following additional notifications are sent using the <code>WM_COMMAND</code> message on - Windows. + <p>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 <code>WM_COMMAND</code> 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.</p> <p>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.</p> + <p><b id="SCN_FOCUSIN">SCN_FOCUSIN</b><br /> + <b id="SCN_FOCUSOUT">SCN_FOCUSOUT</b><br /> + <code>SCN_FOCUSIN</code> (2028) is fired when Scintilla receives focus and + <code>SCN_FOCUSOUT</code> (2029) when it loses focus.</p> + <h2 id="Images">Images</h2> <p>Two formats are supported for images used in margin markers and autocompletion lists, RGBA and XPM.</p> |