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. --- call/ScintillaCall.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'call') diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx index bec5ccfed..23de3f004 100644 --- a/call/ScintillaCall.cxx +++ b/call/ScintillaCall.cxx @@ -936,6 +936,14 @@ bool ScintillaCall::AutoCGetAutoHide() { return Call(Message::AutoCGetAutoHide); } +void ScintillaCall::AutoCSetOptions(Scintilla::AutoCompleteOption options) { + Call(Message::AutoCSetOptions, static_cast(options)); +} + +AutoCompleteOption ScintillaCall::AutoCGetOptions() { + return static_cast(Call(Message::AutoCGetOptions)); +} + void ScintillaCall::AutoCSetDropRestOfWord(bool dropRestOfWord) { Call(Message::AutoCSetDropRestOfWord, dropRestOfWord); } -- cgit v1.2.3