aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
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 /src/AutoComplete.h
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 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index c46530771..fa8f57287 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -25,6 +25,7 @@ public:
bool ignoreCase;
bool chooseSingle;
+ AutoCompleteOption options;
std::unique_ptr<ListBox> lb;
Sci::Position posStart;
Sci::Position startLen;
@@ -49,7 +50,8 @@ public:
/// Display the auto completion list positioned to be near a character position
void Start(Window &parent, int ctrlID, Sci::Position position, Point location,
- Sci::Position startLen_, int lineHeight, bool unicodeMode, Scintilla::Technology technology);
+ Sci::Position startLen_, int lineHeight, bool unicodeMode, Scintilla::Technology technology,
+ ListOptions listOptions);
/// The stop chars are characters which, when typed, cause the auto completion list to disappear
void SetStopChars(const char *stopChars_);