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.
18 // Each word contains at least one character - a empty word acts as sentinel at the end.
22 bool onlyLineEnds
; ///< Delimited by any white space or only line ends
25 explicit WordList(bool onlyLineEnds_
= false);
27 operator bool() const;
28 bool operator!=(const WordList
&other
) const;
31 void Set(const char *s
);
32 bool InList(const char *s
) const;
33 bool InListAbbreviated(const char *s
, const char marker
) const;
34 const char *WordAt(int n
) const;