aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerSimple.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-22 18:04:29 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-22 18:04:29 +1000
commit35eed469ff0228dcfd205939d2b98b52da36a5b5 (patch)
tree3de7172292e6bc74822fd4833aa283ada04547dd /lexlib/LexerSimple.cxx
parentcac2f69f221ca31545681968fc746dc590f060bd (diff)
downloadscintilla-mirror-35eed469ff0228dcfd205939d2b98b52da36a5b5.tar.gz
Basic implementation helpers for style metadata.
Diffstat (limited to 'lexlib/LexerSimple.cxx')
-rw-r--r--lexlib/LexerSimple.cxx4
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";