diff options
author | Neil <nyamatongwe@gmail.com> | 2017-06-22 18:04:29 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 18:04:29 +1000 |
commit | fd8ab2d18eb5ce51f3ebfdfd97b9d1f7a0c5d873 (patch) | |
tree | f323f9d912411c44a4b3bc513a49b69e49c7438a /lexlib/LexerSimple.cxx | |
parent | 3a993f0a5e97435874e06d5496085c4cb7a0d4cb (diff) | |
download | scintilla-mirror-fd8ab2d18eb5ce51f3ebfdfd97b9d1f7a0c5d873.tar.gz |
Backport: Basic implementation helpers for style metadata.
Backport of changeset 6347:69b7471ad62f.
Diffstat (limited to 'lexlib/LexerSimple.cxx')
-rw-r--r-- | lexlib/LexerSimple.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lexlib/LexerSimple.cxx b/lexlib/LexerSimple.cxx index f741e0fef..3df15d32d 100644 --- a/lexlib/LexerSimple.cxx +++ b/lexlib/LexerSimple.cxx @@ -26,7 +26,9 @@ using namespace Scintilla; #endif -LexerSimple::LexerSimple(const LexerModule *module_) : module(module_) { +LexerSimple::LexerSimple(const LexerModule *module_) : + LexerBase(module_->LexClasses(), module_->NamedStyles()), + module(module_) { for (int wl = 0; wl < module->GetNumWordLists(); wl++) { if (!wordLists.empty()) wordLists += "\n"; |