aboutsummaryrefslogtreecommitdiffhomepage
path: root/call
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-07-17 14:54:31 +1000
committerNeil <nyamatongwe@gmail.com>2021-07-17 14:54:31 +1000
commitad0162453e48fb729d1793eca40ac137e1e3451e (patch)
tree158e0126b95245ca178531dcba45e4ffc5dcdde5 /call
parent9aa05526ca323258c4879520093a0fe27826d53c (diff)
downloadscintilla-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.cxx8
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);
}