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/LexDMIS.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/LexDMIS.cxx')
| -rw-r--r-- | lexers/LexDMIS.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexDMIS.cxx b/lexers/LexDMIS.cxx index 8700d5329..9db391971 100644 --- a/lexers/LexDMIS.cxx +++ b/lexers/LexDMIS.cxx @@ -21,6 +21,7 @@ #include "StyleContext.h" #include "CharacterSet.h" #include "LexerModule.h" +#include "DefaultLexer.h" #ifdef SCI_NAMESPACE using namespace Scintilla; @@ -38,7 +39,7 @@ static const char *const DMISWordListDesc[] = { }; -class LexerDMIS : public ILexer +class LexerDMIS : public DefaultLexer { private: char *m_wordListSets; |
