QScintilla/Lexers/__init__.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3178
f25fc1364c88
parent 3461
ea12ebbbb61b
child 3556
40e205ef1470
diff -r d85fadb263a0 -r 1b8381afe38f QScintilla/Lexers/__init__.py
--- a/QScintilla/Lexers/__init__.py	Sun Apr 13 15:45:57 2014 +0200
+++ b/QScintilla/Lexers/__init__.py	Tue Apr 15 22:41:08 2014 +0200
@@ -126,6 +126,8 @@
                     "lexerPython.png"],
         "Python3": [QApplication.translate('Lexers', "Python3"), 'dummy.py',
                     "lexerPython3.png"],
+        "QSS": [QApplication.translate('Lexers', "QSS"), 'dummy.qss',
+                "lexerCSS.png"],
         "Ruby": [QApplication.translate('Lexers', "Ruby"), 'dummy.rb',
                  "lexerRuby.png"],
         "SQL": [QApplication.translate('Lexers', "SQL"), 'dummy.sql',
@@ -286,6 +288,9 @@
             elif language == "Octave":
                 from .LexerOctave import LexerOctave
                 return LexerOctave(parent)
+            elif language == "QSS":
+                from .LexerQSS import LexerQSS
+                return LexerQSS(parent)
             
             elif language in LexerRegistry:
                 return LexerRegistry[language][2](parent)
@@ -687,7 +692,7 @@
         '*.ctest': "CMake",
         '*.ctest.in': "CMake",
         '*.css': "CSS",
-        '*.qss': "CSS",
+        '*.qss': "QSS",
         "*.d": "D",
         "*.di": "D",
         "*.diff": "Diff",

eric ide

mercurial