From 758ee3666b0ee5b1adc91c269ec845f9db6f8dea Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 20 Oct 2022 10:42:56 +1100 Subject: Feature [feature-requests:#1459] Send SCN_AUTOCCOMPLETED for SCI_AUTOCSHOW triggering insertion because of SCI_AUTOCSETCHOOSESINGLE mode. --- include/Scintilla.h | 1 + include/Scintilla.iface | 1 + include/ScintillaTypes.h | 1 + 3 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 30760431f..1baee5e49 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1240,6 +1240,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SC_AC_TAB 3 #define SC_AC_NEWLINE 4 #define SC_AC_COMMAND 5 +#define SC_AC_SINGLE_CHOICE 6 #define SC_CHARACTERSOURCE_DIRECT_INPUT 0 #define SC_CHARACTERSOURCE_TENTATIVE_INPUT 1 #define SC_CHARACTERSOURCE_IME_RESULT 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index a527bb9a4..e65b5e5d7 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3350,6 +3350,7 @@ val SC_AC_DOUBLECLICK=2 val SC_AC_TAB=3 val SC_AC_NEWLINE=4 val SC_AC_COMMAND=5 +val SC_AC_SINGLE_CHOICE=6 ali SC_AC_FILLUP=FILL_UP ali SC_AC_DOUBLECLICK=DOUBLE_CLICK diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h index 5fc18b71b..4692e9916 100644 --- a/include/ScintillaTypes.h +++ b/include/ScintillaTypes.h @@ -624,6 +624,7 @@ enum class CompletionMethods { Tab = 3, Newline = 4, Command = 5, + SingleChoice = 6, }; enum class CharacterSource { -- cgit v1.2.3