Fixed a little nuisance in the QScintilla lexer interface.

Sun, 24 Nov 2013 16:44:16 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Nov 2013 16:44:16 +0100
changeset 3105
80850df745a3
parent 3104
c7d04c334b5d
child 3107
5b496e690984

Fixed a little nuisance in the QScintilla lexer interface.

QScintilla/Lexers/__init__.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Lexers/__init__.py	Sun Nov 24 16:06:45 2013 +0100
+++ b/QScintilla/Lexers/__init__.py	Sun Nov 24 16:44:16 2013 +0100
@@ -149,8 +149,9 @@
         })
     
     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', ""]

eric ide

mercurial