]>
git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/scintilla/src/AutoComplete.h
79d467529134261c3bc2f39bf72fa225b28dfda6
1 // Scintilla source code edit control
2 /** @file AutoComplete.h
3 ** Defines the auto completion list box.
5 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
16 char fillUpChars
[256];
25 /// Should autocompletion be canceled if editor's currentPos <= startPos?
26 bool cancelAtStartPos
;
32 /// Is the auto completion list displayed?
35 /// Display the auto completion list positioned to be near a character position
36 void Start(Window
&parent
, int ctrlID
, int position
, int startLen_
);
38 /// The stop chars are characters which, when typed, cause the auto completion list to disappear
39 void SetStopChars(const char *stopChars_
);
40 bool IsStopChar(char ch
);
42 /// The fillup chars are characters which, when typed, fill up the selected word
43 void SetFillUpChars(const char *fillUpChars_
);
44 bool IsFillUpChar(char ch
);
46 /// The separator character is used when interpreting the list in SetList
47 void SetSeparator(char separator_
);
50 /// The list string contains a sequence of words separated by the separator character
51 void SetList(const char *list
);
56 /// Move the current list element by delta, scrolling appropriately
59 /// Select a list element that starts with word as the current element
60 void Select(const char *word
);