QScintilla/Lexers/LexerCPP.py

branch
sub_styles
changeset 6855
4d80c8cc99a1
parent 6846
6ca9ef2c0907
child 6868
212ff174e129
diff -r f4dd76230eea -r 4d80c8cc99a1 QScintilla/Lexers/LexerCPP.py
--- a/QScintilla/Lexers/LexerCPP.py	Mon Mar 11 19:50:50 2019 +0100
+++ b/QScintilla/Lexers/LexerCPP.py	Tue Mar 12 20:00:30 2019 +0100
@@ -50,8 +50,8 @@
         self.baseStyles = [11, 17, 75, 81]
         
         self.defaultSubStyles = {
-            11: [
-                {
+            11: {
+                0: {
                     "Description": QCoreApplication.translate(
                         "LexerCPP", "Extra Identifiers"),
                     "Words": "std map string vector",
@@ -59,9 +59,9 @@
                         "fore": 0xEE00AA,
                     }
                 },
-            ],
-            17: [
-                {
+            },
+            17: {
+                0: {
                     "Description": QCoreApplication.translate(
                         "LexerCPP", "Extra Doc Comment Keywords"),
                     "Words": "check",
@@ -69,9 +69,9 @@
                         "fore": 0x00AAEE,
                     }
                 },
-            ],
-            75: [
-                {
+            },
+            75: {
+                0: {
                     "Description": QCoreApplication.translate(
                         "LexerCPP", "Inactive Extra Identifiers"),
                     "Words": "std map string vector",
@@ -79,9 +79,9 @@
                         "fore": 0xBB6666,
                     }
                 },
-            ],
-            81: [
-                {
+            },
+            81: {
+                0: {
                     "Description": QCoreApplication.translate(
                         "LexerCPP", "Inactive Extra Doc Comment Keywords"),
                     "Words": "check",
@@ -89,7 +89,7 @@
                         "fore": 0x6699AA,
                     }
                 },
-            ],
+            },
         }
 
     def initProperties(self):

eric ide

mercurial