QScintilla/Lexers/__init__.py

changeset 3461
ea12ebbbb61b
parent 3160
209a07d7e401
child 3515
1b8381afe38f
--- a/QScintilla/Lexers/__init__.py	Tue Apr 01 18:56:45 2014 +0200
+++ b/QScintilla/Lexers/__init__.py	Tue Apr 01 19:22:33 2014 +0200
@@ -124,6 +124,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',
@@ -284,6 +286,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)
@@ -685,7 +690,7 @@
         '*.ctest': "CMake",
         '*.ctest.in': "CMake",
         '*.css': "CSS",
-        '*.qss': "CSS",
+        '*.qss': "QSS",
         "*.d": "D",
         "*.di": "D",
         "*.diff": "Diff",

eric ide

mercurial