48 |
48 |
49 # list of style numbers, that support sub-styling |
49 # list of style numbers, that support sub-styling |
50 self.baseStyles = [11, 17, 75, 81] |
50 self.baseStyles = [11, 17, 75, 81] |
51 |
51 |
52 self.defaultSubStyles = { |
52 self.defaultSubStyles = { |
53 11: [ |
53 11: { |
54 { |
54 0: { |
55 "Description": QCoreApplication.translate( |
55 "Description": QCoreApplication.translate( |
56 "LexerCPP", "Extra Identifiers"), |
56 "LexerCPP", "Extra Identifiers"), |
57 "Words": "std map string vector", |
57 "Words": "std map string vector", |
58 "Style": { |
58 "Style": { |
59 "fore": 0xEE00AA, |
59 "fore": 0xEE00AA, |
60 } |
60 } |
61 }, |
61 }, |
62 ], |
62 }, |
63 17: [ |
63 17: { |
64 { |
64 0: { |
65 "Description": QCoreApplication.translate( |
65 "Description": QCoreApplication.translate( |
66 "LexerCPP", "Extra Doc Comment Keywords"), |
66 "LexerCPP", "Extra Doc Comment Keywords"), |
67 "Words": "check", |
67 "Words": "check", |
68 "Style": { |
68 "Style": { |
69 "fore": 0x00AAEE, |
69 "fore": 0x00AAEE, |
70 } |
70 } |
71 }, |
71 }, |
72 ], |
72 }, |
73 75: [ |
73 75: { |
74 { |
74 0: { |
75 "Description": QCoreApplication.translate( |
75 "Description": QCoreApplication.translate( |
76 "LexerCPP", "Inactive Extra Identifiers"), |
76 "LexerCPP", "Inactive Extra Identifiers"), |
77 "Words": "std map string vector", |
77 "Words": "std map string vector", |
78 "Style": { |
78 "Style": { |
79 "fore": 0xBB6666, |
79 "fore": 0xBB6666, |
80 } |
80 } |
81 }, |
81 }, |
82 ], |
82 }, |
83 81: [ |
83 81: { |
84 { |
84 0: { |
85 "Description": QCoreApplication.translate( |
85 "Description": QCoreApplication.translate( |
86 "LexerCPP", "Inactive Extra Doc Comment Keywords"), |
86 "LexerCPP", "Inactive Extra Doc Comment Keywords"), |
87 "Words": "check", |
87 "Words": "check", |
88 "Style": { |
88 "Style": { |
89 "fore": 0x6699AA, |
89 "fore": 0x6699AA, |
90 } |
90 } |
91 }, |
91 }, |
92 ], |
92 }, |
93 } |
93 } |
94 |
94 |
95 def initProperties(self): |
95 def initProperties(self): |
96 """ |
96 """ |
97 Public slot to initialize the properties. |
97 Public slot to initialize the properties. |