1 // Scintilla source code edit control
3 ** Hold a list of words.
5 // Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
16 // Each word contains at least one character - a empty word acts as sentinel at the end.
20 bool onlyLineEnds
; ///< Delimited by any white space or only line ends
23 explicit WordList(bool onlyLineEnds_
= false);
25 operator bool() const;
26 bool operator!=(const WordList
&other
) const;
29 void Set(const char *s
);
30 bool InList(const char *s
) const;
31 bool InListAbbreviated(const char *s
, const char marker
) const;
32 bool InListAbridged(const char *s
, const char marker
) const;
33 const char *WordAt(int n
) const;