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 | ba5302631cb01f364563fb513d37740a82efbaf9 (patch) | |
tree | 4302ec9af8060a31b6aa5aff10aefac52d6a5afb /lexers/LexVerilog.cxx | |
parent | f06c3555d0f7885f933b1cf4aaf7eff9ae80cc77 (diff) | |
download | scintilla-mirror-ba5302631cb01f364563fb513d37740a82efbaf9.tar.gz |
Add a DefaultLexer class which lexers can subclass if they want reasonable
default implementations of the ILexerWithSubStyles interface methods.
Diffstat (limited to 'lexers/LexVerilog.cxx')
-rw-r--r-- | lexers/LexVerilog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexVerilog.cxx b/lexers/LexVerilog.cxx index 28b8dfbdb..6be3392f1 100644 --- a/lexers/LexVerilog.cxx +++ b/lexers/LexVerilog.cxx @@ -31,6 +31,7 @@ #include "OptionSet.h" #include "SubStyles.h" +#include "DefaultLexer.h" #ifdef SCI_NAMESPACE using namespace Scintilla; @@ -172,7 +173,7 @@ const char styleSubable[] = {0}; } -class LexerVerilog : public ILexerWithSubStyles { +class LexerVerilog : public DefaultLexer { CharacterSet setWord; WordList keywords; WordList keywords2; |