From ad0162453e48fb729d1793eca40ac137e1e3451e Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 Jul 2021 14:54:31 +1000 Subject: Add SCI_AUTOCSETOPTIONS to allow choosing a non-resizeable autocompletion list on Win32. This also avoids a header rectangle above the list. --- include/Scintilla.iface | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index b59cda663..cc7dedf36 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1009,6 +1009,18 @@ set void AutoCSetAutoHide=2118(bool autoHide,) # Retrieve whether or not autocompletion is hidden automatically when nothing matches. get bool AutoCGetAutoHide=2119(,) +# Define option flags for autocompletion lists +enu AutoCompleteOption=SC_AUTOCOMPLETE_ +val SC_AUTOCOMPLETE_NORMAL=0 +# Win32 specific: +val SC_AUTOCOMPLETE_FIXED_SIZE=1 + +# Set autocompletion options. +set void AutoCSetOptions=2638(AutoCompleteOption options,) + +# Retrieve autocompletion options. +get AutoCompleteOption AutoCGetOptions=2639(,) + # Set whether or not autocompletion deletes any word characters # after the inserted text upon completion. set void AutoCSetDropRestOfWord=2270(bool dropRestOfWord,) -- cgit v1.2.3