~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/sdk/wxscintilla/src/scintilla/lexlib/LexerSimple.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.
 
7
 
 
8
#ifndef LEXERSIMPLE_H
 
9
#define LEXERSIMPLE_H
 
10
 
 
11
#ifdef SCI_NAMESPACE
 
12
namespace Scintilla {
 
13
#endif
 
14
 
 
15
// A simple lexer with no state
 
16
class LexerSimple : public LexerBase {
 
17
        const LexerModule *module;
 
18
        std::string wordLists;
 
19
public:
 
20
        explicit 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);
 
24
};
 
25
 
 
26
#ifdef SCI_NAMESPACE
 
27
}
 
28
#endif
 
29
 
 
30
#endif