aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/AutoComplete.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AutoComplete.h')
-rw-r--r--src/AutoComplete.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 10216027b..e4f8ade0d 100644
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -9,6 +9,7 @@
class AutoComplete {
bool active;
char stopChars[256];
+ char separator;
public:
ListBox lb;
int posStart;
@@ -27,7 +28,11 @@ public:
void SetStopChars(const char *stopChars_);
bool IsStopChar(char ch);
- // The list string contains a sequence of words separated by spaces
+ // The separator character is used when interpreting the list in SetList
+ void SetSeparator(char separator_);
+ char GetSeparator();
+
+ // The list string contains a sequence of words separated by the separator character
int SetList(const char *list);
void Show();