QScintilla/Lexers/__init__.py

branch
Py2 comp.
changeset 3142
55030c09e142
parent 3058
0a02c433f52d
parent 3105
80850df745a3
child 3145
a9de05d4a22f
--- a/QScintilla/Lexers/__init__.py	Fri Dec 13 22:45:47 2013 +0100
+++ b/QScintilla/Lexers/__init__.py	Fri Dec 13 23:39:14 2013 +0100
@@ -151,8 +151,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