Sun, 24 Nov 2013 16:44:52 +0100
Fixed a little nuisance in the QScintilla lexer interface.
QScintilla/Lexers/__init__.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Lexers/__init__.py Wed Nov 20 18:45:58 2013 +0100 +++ b/QScintilla/Lexers/__init__.py Sun Nov 24 16:44:52 2013 +0100 @@ -148,7 +148,8 @@ }) for name in LexerRegistry: - supportedLanguages[name] = LexerRegistry[name][:2] + [LexerRegistry[name][6]] + if not name.startswith("Pygments|"): + supportedLanguages[name] = LexerRegistry[name][:2] + [LexerRegistry[name][6]] supportedLanguages["Guessed"] = \ [QApplication.translate('Lexers', "Pygments"), 'dummy.pygments', ""]