From b8d276f517d68af5d173597c37fb9111c985de80 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 10 Apr 2000 13:52:17 +0000 Subject: Added get/set of separator character used when setting auto-completion list. Message for selecting an element of the autocompletion list. --- src/AutoComplete.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/AutoComplete.h') 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(); -- cgit v1.2.3