Update Scintilla to 4.0.4
[TortoiseGit.git] / ext / scintilla / lexlib / LexerSimple.h
blob9b4eb8f1fc74ddb00c8d0ac98250c1483e2ea070
1 // Scintilla source code edit control
2 /** @file LexerSimple.h
3 ** A simple lexer with no state.
4 **/
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.
8 #ifndef LEXERSIMPLE_H
9 #define LEXERSIMPLE_H
11 namespace Scintilla {
13 // A simple lexer with no state
14 class LexerSimple : public LexerBase {
15 const LexerModule *module;
16 std::string wordLists;
17 public:
18 explicit LexerSimple(const LexerModule *module_);
19 const char * SCI_METHOD DescribeWordListSets();
20 void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess);
21 void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess);
26 #endif