diff options
author | Neil <nyamatongwe@gmail.com> | 2021-07-17 14:54:31 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-07-17 14:54:31 +1000 |
commit | ad0162453e48fb729d1793eca40ac137e1e3451e (patch) | |
tree | 158e0126b95245ca178531dcba45e4ffc5dcdde5 /call | |
parent | 9aa05526ca323258c4879520093a0fe27826d53c (diff) | |
download | scintilla-mirror-ad0162453e48fb729d1793eca40ac137e1e3451e.tar.gz |
Add SCI_AUTOCSETOPTIONS to allow choosing a non-resizeable autocompletion list
on Win32. This also avoids a header rectangle above the list.
Diffstat (limited to 'call')
-rw-r--r-- | call/ScintillaCall.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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<uintptr_t>(options)); +} + +AutoCompleteOption ScintillaCall::AutoCGetOptions() { + return static_cast<Scintilla::AutoCompleteOption>(Call(Message::AutoCGetOptions)); +} + void ScintillaCall::AutoCSetDropRestOfWord(bool dropRestOfWord) { Call(Message::AutoCSetDropRestOfWord, dropRestOfWord); } |