From b1b5cf29e93a65ccbcb0770d2cceb0b711e433f8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 15 Jan 2002 07:35:34 +0000 Subject: GetNearestWord changed to use a passed in set of valid word characters rather than a hardcoded list. --- include/PropSet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 45ee8d3bd..bef06d231 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -70,7 +70,8 @@ public: char *Allocate(int size); void SetFromAllocated(); bool InList(const char *s); - const char *GetNearestWord(const char *wordStart, int searchLen = -1, bool ignoreCase = false); + const char *GetNearestWord(const char *wordStart, int searchLen = -1, + bool ignoreCase = false, SString wordCharacters=""); char *GetNearestWords(const char *wordStart, int searchLen=-1, bool ignoreCase=false, char otherSeparator='\0'); }; -- cgit v1.2.3