QScintilla/Lexers/LexerPython.py

branch
sub_styles
changeset 6855
4d80c8cc99a1
parent 6846
6ca9ef2c0907
child 6872
96bb40e987f7
--- a/QScintilla/Lexers/LexerPython.py	Mon Mar 11 19:50:50 2019 +0100
+++ b/QScintilla/Lexers/LexerPython.py	Tue Mar 12 20:00:30 2019 +0100
@@ -43,8 +43,8 @@
         self.baseStyles = [11]
         
         self.defaultSubStyles = {
-            11: [
-                {
+            11: {
+                0: {
                     "Description": QCoreApplication.translate(
                         "LexerPython", "Standard Library Modules"),
                     "Words": """
@@ -73,7 +73,7 @@
                         "font_bold": True,
                     }
                 },
-                {
+                1: {
                     "Description": QCoreApplication.translate(
                         "LexerPython", "__future__ Imports"),
                     "Words": """
@@ -84,7 +84,7 @@
                         "font_italic": True,
                     }
                 }
-            ]
+            },
         }
     
     def language(self):

eric ide

mercurial