diff options
author | nyamatongwe <unknown> | 2000-08-18 10:45:24 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-08-18 10:45:24 +0000 |
commit | 74537dd24ba7943e79652b06f4b752be2035bcea (patch) | |
tree | c5d0492dca4b04bf79e1ef367a7190df8472bc3f /src/AutoComplete.cxx | |
parent | d15b65e7fba53354b9a044ba5d8232d256b58d5e (diff) | |
download | scintilla-mirror-74537dd24ba7943e79652b06f4b752be2035bcea.tar.gz |
Added in most of Ferdinand Prantl's changes except for regular expression
search.
Some bits not quite done as well.
Diffstat (limited to 'src/AutoComplete.cxx')
-rw-r--r-- | src/AutoComplete.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index f9dbd4d67..6866364c1 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -14,7 +14,9 @@ AutoComplete::AutoComplete() { active = false; posStart = 0; strcpy(stopChars, ""); + strcpy(fillUpChars, ""); separator = ' '; + ignoreCase = false; cancelAtStartPos = true; } @@ -45,6 +47,15 @@ bool AutoComplete::IsStopChar(char ch) { return ch && strchr(stopChars, ch); } +void AutoComplete::SetFillUpChars(const char *fillUpChars_) { + strncpy(fillUpChars, fillUpChars_, sizeof(fillUpChars)); + fillUpChars[sizeof(fillUpChars) - 1] = '\0'; +} + +bool AutoComplete::IsFillUpChar(char ch) { + return ch && strchr(fillUpChars, ch); +} + void AutoComplete::SetSeparator(char separator_) { separator = separator_; } |