From 09972b3a179d7ea39ef6ce7e0474531797c549fb Mon Sep 17 00:00:00 2001
From: Neil
Date: Sun, 11 Jun 2017 14:08:43 +1000
Subject: Implement SCN_AUTOCSELECTIONCHANGE notification.
---
doc/ScintillaDoc.html | 54 +++++++++++++++++++++++++++++++++++++++++------
doc/ScintillaHistory.html | 3 +++
2 files changed, 50 insertions(+), 7 deletions(-)
(limited to 'doc')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 805c39bf8..e43f2466c 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -7011,7 +7011,7 @@ struct SCNotification {
/* SCN_MARGINRIGHTCLICK, SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, */
/* SCN_CALLTIPCLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, */
/* SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, */
- /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
+ /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_AUTOCSELECTIONCHANGE */
int ch;
/* SCN_CHARADDED, SCN_KEY, SCN_AUTOCCOMPLETE, SCN_AUTOCSELECTION, */
@@ -7022,7 +7022,8 @@ struct SCNotification {
int modificationType; /* SCN_MODIFIED */
const char *text;
- /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED */
+ /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED, */
+ /* SCN_AUTOCSELECTIONCHANGE */
Sci_Position length; /* SCN_MODIFIED */
Sci_Position linesAdded; /* SCN_MODIFIED */
@@ -7033,7 +7034,7 @@ struct SCNotification {
int foldLevelNow; /* SCN_MODIFIED */
int foldLevelPrev; /* SCN_MODIFIED */
int margin; /* SCN_MARGINCLICK, SCN_MARGINRIGHTCLICK */
- int listType; /* SCN_USERLISTSELECTION */
+ int listType; /* SCN_USERLISTSELECTION, SCN_AUTOCSELECTIONCHANGE */
int x; /* SCN_DWELLSTART, SCN_DWELLEND */
int y; /* SCN_DWELLSTART, SCN_DWELLEND */
int token; /* SCN_MODIFIED with SC_MOD_CONTAINER */
@@ -7078,6 +7079,7 @@ struct SCNotification {
SCN_FOCUSOUT
SCN_AUTOCCOMPLETED
SCN_MARGINRIGHTCLICK
+ SCN_AUTOCSELECTIONCHANGE
The following SCI_* messages are associated with these notifications:
@@ -7946,10 +7948,6 @@ 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.
SCN_AUTOCCOMPLETED
This notification is generated after an autocompletion has inserted its
@@ -7958,6 +7956,48 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next
SCN_AUTOCSELECTION
notification.
+ SCN_AUTOCSELECTIONCHANGE
+ This notification is sent when items are highlighted in an autocompletion or user list.
+ The
+ SCNotification fields used are:
+
+
+
+
+ | Field |
+
+ Usage |
+
+
+
+
+
+ listType |
+
+ This is set to the listType parameter from the SCI_USERLISTSHOW message
+ or 0 for an autocompletion. |
+
+
+
+ text |
+
+ The text of the selection. |
+
+
+
+ position |
+
+ The position the list was displayed at. |
+
+
+
+
+ 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.
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index dae985a07..4f0ebf066 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -536,6 +536,9 @@
Support dropped for GTK+ versions before 2.24.
+ An SCN_AUTOCSELECTIONCHANGE notification is sent when items are highlighted in an autocompletion or user list.
+
+
SciTE allows user.shortcuts to be defined with symbolic Scintilla messages like
'Ctrl+L|SCI_LINEDELETE|'.
--
cgit v1.2.3