]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/StyleEditor/stc-styles.rc.cfg
Removed accidentally left in debug code.
[wxWidgets.git] / wxPython / samples / StyleEditor / stc-styles.rc.cfg
1 common.defs.msw={'size': 8, 'backcol': '#FFFFFF', 'lnsize': 6, 'mono': 'Courier New', 'helv': 'Lucida Console'}
2 common.defs.gtk={ 'mono' : 'Courier New', 'helv' : 'Lucida Console', 'lucd' : 'Lucida Console', 'other' : 'Comic Sans MS', 'size' : 8, 'lnsize': 6, 'backcol': '#FFFFFF'}
3 common.styleidnames = {wxSTC_STYLE_DEFAULT: 'Style default', wxSTC_STYLE_LINENUMBER: 'Line numbers', wxSTC_STYLE_BRACELIGHT: 'Matched braces', wxSTC_STYLE_BRACEBAD: 'Unmatched brace', wxSTC_STYLE_CONTROLCHAR: 'Control characters', wxSTC_STYLE_INDENTGUIDE: 'Indent guide'}
4 [style.python]
5 setting.python.-2=fore:#000000
6 setting.python.-1=back:#88C4FF
7 style.python.000=fore:#808080
8 style.python.001=back:#E8FFE8,italic,fore:#007F00
9 style.python.002=fore:#007F7F
10 style.python.003=fore:#7F007F
11 style.python.004=fore:#7F007F
12 style.python.005=fore:#00007F,bold
13 style.python.006=fore:#7F0000
14 style.python.007=fore:#000033,back:#FFFFE8
15 style.python.008=fore:#0000FF,bold
16 style.python.009=fore:#007F7F,bold
17 style.python.010=bold
18 style.python.012=fore:#7F7F7F,italic
19 style.python.013=fore:#000000,back:#E0C0E0,eolfilled
20 style.python.032=back:%(backcol)s,face:%(mono)s,size:%(size)d
21 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
22 style.python.034=fore:#0000FF,back:#FFFF88,bold
23 style.python.035=fore:#FF0000,back:#FFFF88,bold
24 [style.xml]
25 style.xml.001=bold,fore:#0000A0
26 style.xml.002=fore:#800000
27 style.xml.003=bold
28 style.xml.005=fore:#0000FF
29 style.xml.006=fore:#800080
30 style.xml.007=fore:#800080
31 style.xml.009=fore:#008000
32 style.xml.010=bold
33 style.xml.012=bold
34 style.xml.013=bold
35 style.xml.014=fore:#8000FF,bold
36 style.xml.017=fore:#808000
37 style.xml.018=bold
38 style.xml.032=face:%(mono)s,size:%(size)d
39 style.xml.033=size:%(lnsize)d
40 [style.html]
41 style.html.001=bold,fore:#0000A0
42 style.html.002=fore:#800000
43 style.html.003=bold
44 style.html.005=fore:#0000FF
45 style.html.006=fore:#800080
46 style.html.007=fore:#800080
47 style.html.009=fore:#008000
48 style.html.010=bold
49 style.html.012=bold
50 style.html.013=bold
51 style.html.014=fore:#8000FF,bold
52 style.html.017=fore:#808000
53 style.html.018=bold
54 style.html.032=face:%(mono)s,size:%(size)d
55 style.html.033=size:%(lnsize)d
56 [style.cpp]
57 setting.cpp.-3=fore:#8080FF
58 style.cpp.001=fore:#008040,back:#EAFFEA
59 style.cpp.002=fore:#008040,back:#EAFFEA,size:8
60 style.cpp.004=fore:#0076AE
61 style.cpp.005=bold,fore:#004080
62 style.cpp.006=fore:#800080
63 style.cpp.007=fore:#800040
64 style.cpp.009=fore:#808000
65 style.cpp.010=bold
66 style.cpp.012=back:#FFD5FF
67 style.cpp.013=fore:#8000FF
68 style.cpp.032=face:%(mono)s
69 style.cpp.033=size:%(lnsize)s
70 style.cpp.034=fore:#0000FF,back:#FFFFB9,bold
71 style.cpp.035=fore:#FF0000,back:#FFFFB9,bold
72 [style.prop]
73 style.prop.000=fore:#000080
74 style.prop.001=fore:#008000,back:#DDFFDD
75 style.prop.002=bold
76 style.prop.003=bold,fore:#804000
77 style.prop.004=fore:#800000
78 style.prop.032=size:7
79 [style.text]
80 style.text.032=size:7
81
82 [style.python.default]
83 setting.python.-2=fore:#000000
84 setting.python.-1=fore:#000000,back:#88C4FF
85 style.python.000=fore:#808080
86 style.python.001=fore:#007F00,back:#E8FFE8,italic
87 style.python.002=fore:#007F7F
88 style.python.003=fore:#7F007F
89 style.python.004=fore:#7F007F
90 style.python.005=fore:#00007F,bold
91 style.python.006=fore:#7F0000
92 style.python.007=fore:#000033,back:#FFFFE8
93 style.python.008=fore:#0000FF,bold
94 style.python.009=fore:#007F7F,bold
95 style.python.010=bold
96 style.python.012=fore:#7F7F7F,italic
97 style.python.013=fore:#000000,back:#E0C0E0,eolfilled
98 style.python.032=back:%(backcol)s,face:%(mono)s,size:%(size)d
99 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
100 style.python.034=fore:#0000FF,back:#FFFF88,bold
101 style.python.035=fore:#FF0000,back:#FFFF88,bold
102
103 [style.python.classic]
104 setting.python.-2=fore:#FFFFFF
105 setting.python.-1=fore:#000000,back:#888888
106 style.python.000=fore:#808080
107 style.python.001=fore:#00FF00,italic
108 style.python.002=fore:#00FFFF
109 style.python.003=fore:#FF00FF
110 style.python.004=fore:#FF00FF
111 style.python.005=fore:#FFFFFF,bold
112 style.python.006=fore:#FFB7B7
113 style.python.007=fore:#D1D1D1
114 style.python.008=fore:#79BCFF,bold
115 style.python.009=fore:#FFFFB9,bold
116 style.python.010=bold,fore:#FFFFFF
117 style.python.012=fore:#949494,italic
118 style.python.013=fore:#000000,back:#CA8BE4,eolfilled
119 style.python.032=back:#000080,face:%(mono)s,size:%(size)d,fore:#FFFF00
120 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0,fore:#000000
121 style.python.034=fore:#0000FF,back:#FFFF88,bold
122 style.python.035=fore:#FF0000,back:#FFFF88,bold
123
124 [style.python.twilight]
125 setting.python.-2=fore:#FFFFFF
126 setting.python.-1=fore:#000000,back:#888888
127 style.python.000=fore:#808080
128 style.python.001=fore:#A0A0A0,italic
129 style.python.002=fore:#FF00FF
130 style.python.003=fore:#FFFF00
131 style.python.004=fore:#FFFF00
132 style.python.005=fore:#80FFFF,bold
133 style.python.006=fore:#00C1C1
134 style.python.007=fore:#00C1C1
135 style.python.008=fore:#FFFF00,bold
136 style.python.009=fore:#FFFFFF,bold
137 style.python.010=bold,fore:#80FFFF
138 style.python.012=fore:#A0A0A0,italic
139 style.python.013=fore:#000000,back:#959500,eolfilled
140 style.python.032=back:#000000,face:%(mono)s,size:%(size)d,fore:#FFFFFF
141 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0,fore:#000000
142 style.python.034=fore:#0000FF,back:#80FFFF,bold
143 style.python.035=fore:#FF0000,back:#80FFFF,bold
144
145 [style.python.idle]
146 setting.python.-1=fore:#FFFFFF,back:#0000A0
147 style.python.001=fore:#DD0000
148 style.python.003=fore:#00AA00
149 style.python.004=fore:#00AA00
150 style.python.005=fore:#FF7700
151 style.python.006=fore:#00AA00
152 style.python.007=fore:#00AA00
153 style.python.008=fore:#0000FF
154 style.python.009=fore:#0000FF
155 style.python.012=fore:#DD0000
156 style.python.032=face:%(mono)s,size:%(size)d
157 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
158 style.python.034=fore:#0000FF,bold
159 style.python.035=fore:#DD0000,bold
160
161 [style.html.default]
162 style.html.001=bold,fore:#0000A0
163 style.html.002=fore:#800000
164 style.html.003=bold
165 style.html.005=fore:#0000FF
166 style.html.006=fore:#800080
167 style.html.007=fore:#800080
168 style.html.009=fore:#008000
169 style.html.010=bold
170 style.html.012=bold
171 style.html.013=bold
172 style.html.014=fore:#8000FF,bold
173 style.html.017=fore:#808000
174 style.html.018=bold
175 style.html.032=face:%(mono)s,size:%(size)d
176 style.html.033=size:%(lnsize)d
177
178 [style.xml.default]
179 style.html.001=bold,fore:#0000A0
180 style.html.002=fore:#800000
181 style.html.003=bold
182 style.html.005=fore:#0000FF
183 style.html.006=fore:#800080
184 style.html.007=fore:#800080
185 style.html.009=fore:#008000
186 style.html.010=bold
187 style.html.012=bold
188 style.html.013=bold
189 style.html.014=fore:#8000FF,bold
190 style.html.017=fore:#808000
191 style.html.018=bold
192 style.html.032=face:%(mono)s,size:%(size)d
193 style.html.033=size:%(lnsize)d
194
195 [style.cpp.default]
196 style.cpp.001=fore:#008040,back:#EAFFEA
197 style.cpp.002=fore:#008040,back:#EAFFEA,size:8
198 style.cpp.004=fore:#0076AE
199 style.cpp.005=bold,fore:#004080
200 style.cpp.006=fore:#800080
201 style.cpp.009=fore:#808000
202 style.cpp.010=bold
203 style.cpp.012=back:#FFD5FF
204 style.cpp.032=face:%(mono)s
205 style.cpp.033=size:%(lnsize)s
206 style.cpp.034=fore:#0000FF,back:#FFFFB9,bold
207 style.cpp.035=fore:#FF0000,back:#FFFFB9,bold
208
209 [style.prop.default]
210 style.prop.000=fore:#000080
211 style.prop.001=fore:#008000,back:#DDFFDD
212 style.prop.002=bold
213 style.prop.003=bold,fore:#804000
214 style.prop.004=fore:#800000
215 style.prop.032=size:7
216
217 [style.text.default]
218
219 [python]
220 displaysrc=## Comment Blocks!\nclass MyClass(MyParent):\n """ Class example """\n def __init__(self):\n ''' Triple quotes '''\n # Do something silly\n a = ('Py' + "thon") * 100\n b = 'EOL unclosed string\n c = [Matched braces]\n d = {Unmatched brace
221 braces={'good': (9, 12), 'bad': (10, 12)}
222 styleidnames={wxSTC_P_DEFAULT: 'Default', wxSTC_P_COMMENTLINE: 'Comment', wxSTC_P_NUMBER : 'Number', wxSTC_P_STRING : 'String', wxSTC_P_CHARACTER: 'Single quoted string', wxSTC_P_WORD: 'Keyword', wxSTC_P_TRIPLE:'Triple quotes', wxSTC_P_TRIPLEDOUBLE: 'Triple double quotes', wxSTC_P_CLASSNAME: 'Class definition', wxSTC_P_DEFNAME: 'Function or method', wxSTC_P_OPERATOR: 'Operators', wxSTC_P_IDENTIFIER: 'Identifiers', wxSTC_P_COMMENTBLOCK: 'Comment blocks', wxSTC_P_STRINGEOL: 'EOL unclosed string'}
223 lexer=wxSTC_LEX_PYTHON
224 keywords=and assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while
225
226 [html]
227 displaysrc=<?xml version="1.0"?>\n<html><head>\n <title>STC Style Editor</title>\n <script lang='Python'> a=10 </script>\n </head>\n <body bgcolor="#FFFFFF" text=#000000>\n &lt; Text for testing &gt;\n <unknown_tag>\n <!--Comments--><?question?><![CDATA[]]>\n </body>\n</html>
228 braces={}
229 keywords=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly rel rev rows rowspan rules scheme scope shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public !doctype
230 lexer=wxSTC_LEX_HTML
231 styleidnames={wxSTC_H_DEFAULT: 'Default', wxSTC_H_TAG: 'Tag', wxSTC_H_TAGUNKNOWN: 'Tag unknown', wxSTC_H_ATTRIBUTE: 'Attribute', wxSTC_H_NUMBER: 'Number', wxSTC_H_DOUBLESTRING: 'Double string', wxSTC_H_SINGLESTRING:'Single string', wxSTC_H_OTHER: 'Other', wxSTC_H_COMMENT: 'Comment', wxSTC_H_ENTITY: 'Entity', wxSTC_H_TAGEND: 'Tag end', wxSTC_H_XMLSTART: 'XML start', wxSTC_H_XMLEND: 'XML End', wxSTC_H_SCRIPT: 'Script', wxSTC_H_ASP: 'ASP', wxSTC_H_ASPAT: 'ASPAT', wxSTC_H_CDATA: 'CDATA', wxSTC_H_QUESTION: 'Question', wxSTC_H_VALUE: 'Value', wxSTC_HJ_START: 'JS - Start',wxSTC_HJ_DEFAULT: 'JS - Default',wxSTC_HJ_COMMENT: 'JS - Comment',wxSTC_HJ_COMMENTLINE: 'JS - Comment line',wxSTC_HJ_COMMENTDOC : 'JS - Comment doc',wxSTC_HJ_NUMBER: 'JS - Number',wxSTC_HJ_WORD: 'JS - Word',wxSTC_HJ_KEYWORD: 'JS - Keyword',wxSTC_HJ_DOUBLESTRING: 'JS - String',wxSTC_HJ_SINGLESTRING: 'JS - Single quoted string',wxSTC_HJ_SYMBOLS: 'JS - Symbol',wxSTC_HJ_STRINGEOL: 'JS - EOL unclosed string', wxSTC_HPHP_DEFAULT: 'HP - Default', wxSTC_HPHP_HSTRING: 'HP - String', wxSTC_HPHP_SIMPLESTRING: 'HP - Simple string', wxSTC_HPHP_WORD: 'HP - Word', wxSTC_HPHP_NUMBER: 'HP - Number', wxSTC_HPHP_VARIABLE: 'HP - Variable', wxSTC_HPHP_COMMENT: 'HP - Comment', wxSTC_HPHP_COMMENTLINE: 'HP - Comment line', wxSTC_HPHP_STRINGEOL: 'HP - EOL unclosed string', wxSTC_HP_START: 'Py - Start', wxSTC_HP_DEFAULT: 'Py - Default', wxSTC_HP_COMMENTLINE: 'Py - Comment line', wxSTC_HP_NUMBER: 'Py - Number', wxSTC_HP_STRING: 'Py - String', wxSTC_HP_CHARACTER: 'Py - Single quoted string', wxSTC_HP_WORD: 'Py - Keyword', wxSTC_HP_TRIPLE: 'Py - Triple quotes', wxSTC_HP_TRIPLEDOUBLE: 'Py - Triple double quotes', wxSTC_HP_CLASSNAME: 'Py - Class definition', wxSTC_HP_DEFNAME: 'Py - Function or method', wxSTC_HP_OPERATOR: 'Py - Operator', wxSTC_HP_IDENTIFIER: 'Py - Identifier'}
232
233 [xml]
234 displaysrc=<?xml version = "1.0"?>\n<!DOCTYPE ADDRBOOK SYSTEM "addr_book.dtd">\n<ADDRBOOK>\n <ENTRY ID="gn">\n <NAME>Gegbefuna Nwannem</NAME>\n <ADDRESS>666 Murtala Mohammed Blvd.</ADDRESS>\n <PHONENUM DESC="Home">999-101-1001</PHONENUM>\n <EMAIL>nwanneg@naija.ng</EMAIL>\n </ENTRY>\n</ADDRBOOK>
235 braces={}
236 keywords=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly rel rev rows rowspan rules scheme scope shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public !doctype
237 lexer=wxSTC_LEX_XML
238 styleidnames={wxSTC_H_DEFAULT: 'Default', wxSTC_H_TAG: 'Tag', wxSTC_H_TAGUNKNOWN: 'Tag unknown', wxSTC_H_ATTRIBUTE: 'Attribute', wxSTC_H_NUMBER: 'Number', wxSTC_H_DOUBLESTRING: 'Double quoted string', wxSTC_H_SINGLESTRING:'Single quoted string', wxSTC_H_OTHER: 'Other inside tag', wxSTC_H_COMMENT: 'Comment', wxSTC_H_ENTITY: 'Entity', wxSTC_H_TAGEND: 'Tag end', wxSTC_H_XMLSTART: 'XML start', wxSTC_H_XMLEND: 'XML End'}
239
240 [cpp]
241 displaysrc=#include <wx/tokenzr.h>\n// Extract style settings from a spec-string\nvoid wxStyledTextCtrl::StyleSetSpec(int styleNum, const wxString& spec) {\n wxStringTokenizer tkz(spec, ',');\n while (tkz.HasMoreTokens() || 42) {\n wxString token = tkz.GetNextToken();\n wxString option = token.BeforeFirst(':');\n wxString val = token.AfterFirst(':');\n if (option == "bold")\n StyleSetBold(styleNum, true);\n/* End of code snippet */ @"Verbatim" " \n
242 braces={'good': (5, 10), 'bad': (5, 38)}
243 keywords=asm auto bool break case catch char class const const_cast continue default delete do double dynamic_cast else enum explicit export extern false float for friend goto if inline int long mutable namespace new operator private protected public register reinterpret_cast return short signed sizeof static static_cast struct switch template this throw true try typedef typeid typename union unsigned using virtual void volatile wchar_t while
244 lexer=wxSTC_LEX_CPP
245 styleidnames={wxSTC_C_DEFAULT: 'Default', wxSTC_C_COMMENT: 'Comment',wxSTC_C_COMMENTLINE: 'Comment line',wxSTC_C_COMMENTDOC: 'Comment doc',wxSTC_C_NUMBER: 'Number',wxSTC_C_WORD: 'Keyword',wxSTC_C_STRING: 'String',wxSTC_C_CHARACTER: 'Character',wxSTC_C_UUID: 'UUID',wxSTC_C_PREPROCESSOR: 'Preprocessor',wxSTC_C_OPERATOR: 'Operator', wxSTC_C_IDENTIFIER: 'Identifier', wxSTC_C_STRINGEOL: 'EOL unclosed string', wxSTC_C_VERBATIM: 'Verbatim'}
246
247 [prop]
248 displaysrc=# The property's properties\n[prop]\ndisplaysrc=# The property's properties ...\nbraces={}\nkeywords=\nlexer=wxSTC_LEX_PROPERTIES\n\n; Section with a default value\n[section]\n@default=42
249 braces={}
250 keywords=
251 lexer=wxSTC_LEX_PROPERTIES
252 styleidnames={0: 'Default', 1: 'Comment', 2: 'Section', 3: 'Assignment operator', 4:'Default value'}
253
254 [text]
255 displaysrc=Text uses the NULL lexer, so there\naren't really language spesific styles to set.\nOnly the default styles makes sense.
256 braces={}
257 keywords=
258 lexer=wxSTC_LEX_NULL
259 styleidnames={0: 'Default'}