diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-06-22 15:53:47 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 15:53:47 +1000 |
| commit | e2ac8b7e987becbdeb6333f07d4627bce168cb55 (patch) | |
| tree | c7bd572bf05f78de328606fee2d719b7be43c0a4 /lexers/LexBasic.cxx | |
| parent | ba1197944de6599dd02583455957be8ca9412eec (diff) | |
| download | scintilla-mirror-e2ac8b7e987becbdeb6333f07d4627bce168cb55.tar.gz | |
Backport: Add a DefaultLexer class which lexers can subclass if they want reasonable
default implementations of the ILexerWithSubStyles interface methods.
Backport of changeset 6326:d18622e37a3e.
Diffstat (limited to 'lexers/LexBasic.cxx')
| -rw-r--r-- | lexers/LexBasic.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexBasic.cxx b/lexers/LexBasic.cxx index 4aa449d43..8aa64267b 100644 --- a/lexers/LexBasic.cxx +++ b/lexers/LexBasic.cxx @@ -37,6 +37,7 @@ #include "CharacterSet.h" #include "LexerModule.h" #include "OptionSet.h" +#include "DefaultLexer.h" #ifdef SCI_NAMESPACE using namespace Scintilla; @@ -226,7 +227,7 @@ struct OptionSetBasic : public OptionSet<OptionsBasic> { } }; -class LexerBasic : public ILexer { +class LexerBasic : public DefaultLexer { char comment_char; int (*CheckFoldPoint)(char const *, int &); WordList keywordlists[4]; |
