diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-22 22:36:51 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-22 22:36:51 +1100 |
commit | eed707bb9ad6da944af207a51e4a8d460d6c6846 (patch) | |
tree | b504d202eea59088f3290d8c12d3307b17e88b93 /lexlib/LexerSimple.h | |
parent | a4bd72249722211f08ffa3e65c664a9ccbbc7f84 (diff) | |
download | scintilla-mirror-eed707bb9ad6da944af207a51e4a8d460d6c6846.tar.gz |
Define ILexer5 with methods for retrieving name, ID, and property values.
Implement ILexer5 on object lexers.
Implement ILexer5 on LexerSimple wrapper for function lexers.
Diffstat (limited to 'lexlib/LexerSimple.h')
-rw-r--r-- | lexlib/LexerSimple.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lexlib/LexerSimple.h b/lexlib/LexerSimple.h index 87882eaeb..ae4177769 100644 --- a/lexlib/LexerSimple.h +++ b/lexlib/LexerSimple.h @@ -19,6 +19,9 @@ public: const char * SCI_METHOD DescribeWordListSets() override; void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override; void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override; + // ILexer5 methods + const char * SCI_METHOD GetName() override; + int SCI_METHOD GetIdentifier() override; }; } |