diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Catalogue.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Catalogue.cxx b/src/Catalogue.cxx index 70394aeb1..a7ec50018 100644 --- a/src/Catalogue.cxx +++ b/src/Catalogue.cxx @@ -29,6 +29,7 @@ static std::vector<LexerModule *> lexerCatalogue;  static int nextLanguage = SCLEX_AUTOMATIC+1;  const LexerModule *Catalogue::Find(int language) { +	Scintilla_LinkLexers();  	for (std::vector<LexerModule *>::iterator it=lexerCatalogue.begin();  		it != lexerCatalogue.end(); ++it) {  		if ((*it)->GetLanguage() == language) { @@ -39,6 +40,7 @@ const LexerModule *Catalogue::Find(int language) {  }  const LexerModule *Catalogue::Find(const char *languageName) { +	Scintilla_LinkLexers();  	if (languageName) {  		for (std::vector<LexerModule *>::iterator it=lexerCatalogue.begin();  			it != lexerCatalogue.end(); ++it) {  | 
