]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/lexlib/LexerSimple.h
1 // Scintilla source code edit control
2 /** @file LexerSimple.h
3 ** A simple lexer with no state.
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.
15 // A simple lexer with no state
16 class LexerSimple
: public LexerBase
{
17 const LexerModule
*module;
18 std::string wordLists
;
20 LexerSimple(const LexerModule
*module_
);
21 const char * SCI_METHOD
DescribeWordListSets();
22 void SCI_METHOD
Lex(unsigned int startPos
, int lengthDoc
, int initStyle
, IDocument
*pAccess
);
23 void SCI_METHOD
Fold(unsigned int startPos
, int lengthDoc
, int initStyle
, IDocument
*pAccess
);