From baf65874491fb3c51c6ff1b29bae6f5c61d1e88c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 19 Sep 2004 03:49:44 +0000 Subject: Patch to autocompletion from Jakub Vrana to handle cases where word characters are greater than the start of parameters character. --- include/PropSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 69f4c4b78..32aea8a0c 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -87,9 +87,9 @@ public: char *Allocate(int size); void SetFromAllocated(); bool InList(const char *s); - const char *GetNearestWord(const char *wordStart, int searchLen = -1, + const char *GetNearestWord(const char *wordStart, int searchLen, bool ignoreCase = false, SString wordCharacters="", int wordIndex = -1); - char *GetNearestWords(const char *wordStart, int searchLen=-1, + char *GetNearestWords(const char *wordStart, int searchLen, bool ignoreCase=false, char otherSeparator='\0', bool exactLen=false); }; -- cgit v1.2.3