aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexBasic.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-22 15:53:47 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-22 15:53:47 +1000
commite2ac8b7e987becbdeb6333f07d4627bce168cb55 (patch)
treec7bd572bf05f78de328606fee2d719b7be43c0a4 /lexers/LexBasic.cxx
parentba1197944de6599dd02583455957be8ca9412eec (diff)
downloadscintilla-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.cxx3
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];