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/LexPython.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/LexPython.cxx')
| -rw-r--r-- | lexers/LexPython.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx index 97943ca24..50c3baa8c 100644 --- a/lexers/LexPython.cxx +++ b/lexers/LexPython.cxx @@ -30,6 +30,7 @@  #include "LexerModule.h"  #include "OptionSet.h"  #include "SubStyles.h" +#include "DefaultLexer.h"  #ifdef SCI_NAMESPACE  using namespace Scintilla; @@ -310,7 +311,7 @@ const char styleSubable[] = { SCE_P_IDENTIFIER, 0 };  } -class LexerPython : public ILexerWithSubStyles { +class LexerPython : public DefaultLexer {  	WordList keywords;  	WordList keywords2;  	OptionsPython options; | 
