eric6/QScintilla/Lexers/__init__.py

changeset 7267
aedc309827c7
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/QScintilla/Lexers/__init__.py	Wed Sep 25 18:25:43 2019 +0200
+++ b/eric6/QScintilla/Lexers/__init__.py	Wed Sep 25 18:37:35 2019 +0200
@@ -163,21 +163,29 @@
     }
     
     if QSCINTILLA_VERSION() >= 0x020a00:
-        supportedLanguages["JSON"] = \
-            [QCoreApplication.translate('Lexers', "JSON"),
-             'dummy.json', "lexerJSON.png"]
-        supportedLanguages["Markdown"] = \
-            [QCoreApplication.translate('Lexers', "Markdown"),
-             'dummy.md', "lexerMarkdown.png"]
+        supportedLanguages["JSON"] = [
+            QCoreApplication.translate('Lexers', "JSON"),
+            'dummy.json',
+            "lexerJSON.png"
+        ]
+        supportedLanguages["Markdown"] = [
+            QCoreApplication.translate('Lexers', "Markdown"),
+            'dummy.md',
+            "lexerMarkdown.png"
+        ]
     
     for name in LexerRegistry:
         if not name.startswith("Pygments|"):
-            supportedLanguages[name] = \
-                LexerRegistry[name][:2] + [LexerRegistry[name][6]]
+            supportedLanguages[name] = (
+                LexerRegistry[name][:2] +
+                [LexerRegistry[name][6]]
+            )
     
-    supportedLanguages["Guessed"] = \
-        [QCoreApplication.translate('Lexers', "Pygments"), 'dummy.pygments',
-         ""]
+    supportedLanguages["Guessed"] = [
+        QCoreApplication.translate('Lexers', "Pygments"),
+        'dummy.pygments',
+        ""
+    ]
     
     return supportedLanguages
 

eric ide

mercurial