aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface2
-rw-r--r--include/ScintillaTypes.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 4ea264d8e..9b53ae174 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -445,6 +445,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
#define SCI_AUTOCGETAUTOHIDE 2119
#define SC_AUTOCOMPLETE_NORMAL 0
#define SC_AUTOCOMPLETE_FIXED_SIZE 1
+#define SC_AUTOCOMPLETE_SELECT_FIRST_ITEM 2
#define SCI_AUTOCSETOPTIONS 2638
#define SCI_AUTOCGETOPTIONS 2639
#define SCI_AUTOCSETDROPRESTOFWORD 2270
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 9f5b5a054..3f88653ce 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1100,6 +1100,8 @@ enu AutoCompleteOption=SC_AUTOCOMPLETE_
val SC_AUTOCOMPLETE_NORMAL=0
# Win32 specific:
val SC_AUTOCOMPLETE_FIXED_SIZE=1
+# Always select the first item in the autocompletion list:
+val SC_AUTOCOMPLETE_SELECT_FIRST_ITEM=2
# Set autocompletion options.
set void AutoCSetOptions=2638(AutoCompleteOption options,)
diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h
index 4692e9916..128b73002 100644
--- a/include/ScintillaTypes.h
+++ b/include/ScintillaTypes.h
@@ -249,6 +249,7 @@ enum class IndicFlag {
enum class AutoCompleteOption {
Normal = 0,
FixedSize = 1,
+ SelectFirstItem = 2,
};
enum class IndentView {