]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/StyleEditor/stc-styles.rc.cfg
reSWIGged
[wxWidgets.git] / wxPython / samples / StyleEditor / stc-styles.rc.cfg
1 common.defs.msw={'helv': 'Lucida Console', 'mono': 'Courier New', 'lnsize': 6, 'backcol': '#FFFFFF', 'size': 8}
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.-3=
6 setting.python.-2=fore:#000000
7 setting.python.-1=back:#88C4FF
8 style.python.000=fore:#808080
9 style.python.001=back:#E8FFE8,italic,fore:#007F00
10 style.python.002=fore:#007F7F
11 style.python.003=fore:#7F007F
12 style.python.004=fore:#7F007F
13 style.python.005=fore:#00007F,bold
14 style.python.006=fore:#7F0000
15 style.python.007=fore:#000033,back:#FFFFE8
16 style.python.008=fore:#0000FF,bold
17 style.python.009=fore:#007F7F,bold
18 style.python.010=bold
19 style.python.011=
20 style.python.012=fore:#7F7F7F,italic
21 style.python.013=fore:#000000,back:#E0C0E0,eolfilled
22 style.python.032=back:%(backcol)s,face:%(mono)s,size:%(size)d
23 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
24 style.python.034=fore:#0000FF,back:#FFFF88,bold
25 style.python.035=fore:#FF0000,back:#FFFF88,bold
26 style.python.036=
27 style.python.037=
28 [style.xml]
29 style.xml.001=bold,fore:#0000A0
30 style.xml.002=fore:#800000
31 style.xml.003=bold
32 style.xml.005=fore:#0000FF
33 style.xml.006=fore:#800080
34 style.xml.007=fore:#800080
35 style.xml.009=fore:#008000
36 style.xml.010=bold
37 style.xml.012=bold
38 style.xml.013=bold
39 style.xml.014=fore:#8000FF,bold
40 style.xml.017=fore:#808000
41 style.xml.018=bold
42 style.xml.032=face:%(mono)s,size:%(size)d
43 style.xml.033=size:%(lnsize)d
44 [style.html]
45 style.html.001=bold,fore:#0000A0
46 style.html.002=fore:#800000
47 style.html.003=bold
48 style.html.005=fore:#0000FF
49 style.html.006=fore:#800080
50 style.html.007=fore:#800080
51 style.html.009=fore:#008000
52 style.html.010=bold
53 style.html.012=bold
54 style.html.013=bold
55 style.html.014=fore:#8000FF,bold
56 style.html.017=fore:#808000
57 style.html.018=bold
58 style.html.032=face:%(mono)s,size:%(size)d
59 style.html.033=size:%(lnsize)d
60 [style.cpp]
61 setting.cpp.-3=fore:#8080FF
62 style.cpp.001=fore:#008040,back:#EAFFEA
63 style.cpp.002=fore:#008040,back:#EAFFEA,size:8
64 style.cpp.004=fore:#0076AE
65 style.cpp.005=bold,fore:#004080
66 style.cpp.006=fore:#800080
67 style.cpp.007=fore:#800040
68 style.cpp.009=fore:#808000
69 style.cpp.010=bold
70 style.cpp.012=back:#FFD5FF
71 style.cpp.013=fore:#8000FF
72 style.cpp.032=face:%(mono)s
73 style.cpp.033=size:%(lnsize)s
74 style.cpp.034=fore:#0000FF,back:#FFFFB9,bold
75 style.cpp.035=fore:#FF0000,back:#FFFFB9,bold
76 [style.prop]
77 style.prop.000=fore:#000080
78 style.prop.001=fore:#008000,back:#DDFFDD
79 style.prop.002=bold
80 style.prop.003=bold,fore:#804000
81 style.prop.004=fore:#800000
82 style.prop.032=size:7
83 [style.text]
84 style.text.032=size:7
85
86 [style.python.default]
87 setting.python.-2=fore:#000000
88 setting.python.-1=fore:#000000,back:#88C4FF
89 style.python.000=fore:#808080
90 style.python.001=fore:#007F00,back:#E8FFE8,italic
91 style.python.002=fore:#007F7F
92 style.python.003=fore:#7F007F
93 style.python.004=fore:#7F007F
94 style.python.005=fore:#00007F,bold
95 style.python.006=fore:#7F0000
96 style.python.007=fore:#000033,back:#FFFFE8
97 style.python.008=fore:#0000FF,bold
98 style.python.009=fore:#007F7F,bold
99 style.python.010=bold
100 style.python.012=fore:#7F7F7F,italic
101 style.python.013=fore:#000000,back:#E0C0E0,eolfilled
102 style.python.032=back:%(backcol)s,face:%(mono)s,size:%(size)d
103 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
104 style.python.034=fore:#0000FF,back:#FFFF88,bold
105 style.python.035=fore:#FF0000,back:#FFFF88,bold
106
107 [style.python.classic]
108 setting.python.-2=fore:#FFFFFF
109 setting.python.-1=fore:#000000,back:#888888
110 style.python.000=fore:#808080
111 style.python.001=fore:#00FF00,italic
112 style.python.002=fore:#00FFFF
113 style.python.003=fore:#FF00FF
114 style.python.004=fore:#FF00FF
115 style.python.005=fore:#FFFFFF,bold
116 style.python.006=fore:#FFB7B7
117 style.python.007=fore:#D1D1D1
118 style.python.008=fore:#79BCFF,bold
119 style.python.009=fore:#FFFFB9,bold
120 style.python.010=bold,fore:#FFFFFF
121 style.python.012=fore:#949494,italic
122 style.python.013=fore:#000000,back:#CA8BE4,eolfilled
123 style.python.032=back:#000080,face:%(mono)s,size:%(size)d,fore:#FFFF00
124 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0,fore:#000000
125 style.python.034=fore:#0000FF,back:#FFFF88,bold
126 style.python.035=fore:#FF0000,back:#FFFF88,bold
127
128 [style.python.twilight]
129 setting.python.-2=fore:#FFFFFF
130 setting.python.-1=fore:#000000,back:#888888
131 style.python.000=fore:#808080
132 style.python.001=fore:#A0A0A0,italic
133 style.python.002=fore:#FF00FF
134 style.python.003=fore:#FFFF00
135 style.python.004=fore:#FFFF00
136 style.python.005=fore:#80FFFF,bold
137 style.python.006=fore:#00C1C1
138 style.python.007=fore:#00C1C1
139 style.python.008=fore:#FFFF00,bold
140 style.python.009=fore:#FFFFFF,bold
141 style.python.010=bold,fore:#80FFFF
142 style.python.012=fore:#A0A0A0,italic
143 style.python.013=fore:#000000,back:#959500,eolfilled
144 style.python.032=back:#000000,face:%(mono)s,size:%(size)d,fore:#FFFFFF
145 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0,fore:#000000
146 style.python.034=fore:#0000FF,back:#80FFFF,bold
147 style.python.035=fore:#FF0000,back:#80FFFF,bold
148
149 [style.python.idle]
150 setting.python.-1=fore:#FFFFFF,back:#0000A0
151 style.python.001=fore:#DD0000
152 style.python.003=fore:#00AA00
153 style.python.004=fore:#00AA00
154 style.python.005=fore:#FF7700
155 style.python.006=fore:#00AA00
156 style.python.007=fore:#00AA00
157 style.python.008=fore:#0000FF
158 style.python.009=fore:#0000FF
159 style.python.012=fore:#DD0000
160 style.python.032=face:%(mono)s,size:%(size)d
161 style.python.033=size:%(lnsize)d,face:%(helv)s,back:#A0A0A0
162 style.python.034=fore:#0000FF,bold
163 style.python.035=fore:#DD0000,bold
164
165 [style.html.default]
166 style.html.001=bold,fore:#0000A0
167 style.html.002=fore:#800000
168 style.html.003=bold
169 style.html.005=fore:#0000FF
170 style.html.006=fore:#800080
171 style.html.007=fore:#800080
172 style.html.009=fore:#008000
173 style.html.010=bold
174 style.html.012=bold
175 style.html.013=bold
176 style.html.014=fore:#8000FF,bold
177 style.html.017=fore:#808000
178 style.html.018=bold
179 style.html.032=face:%(mono)s,size:%(size)d
180 style.html.033=size:%(lnsize)d
181
182 [style.xml.default]
183 style.html.001=bold,fore:#0000A0
184 style.html.002=fore:#800000
185 style.html.003=bold
186 style.html.005=fore:#0000FF
187 style.html.006=fore:#800080
188 style.html.007=fore:#800080
189 style.html.009=fore:#008000
190 style.html.010=bold
191 style.html.012=bold
192 style.html.013=bold
193 style.html.014=fore:#8000FF,bold
194 style.html.017=fore:#808000
195 style.html.018=bold
196 style.html.032=face:%(mono)s,size:%(size)d
197 style.html.033=size:%(lnsize)d
198
199 [style.cpp.default]
200 style.cpp.001=fore:#008040,back:#EAFFEA
201 style.cpp.002=fore:#008040,back:#EAFFEA,size:8
202 style.cpp.004=fore:#0076AE
203 style.cpp.005=bold,fore:#004080
204 style.cpp.006=fore:#800080
205 style.cpp.009=fore:#808000
206 style.cpp.010=bold
207 style.cpp.012=back:#FFD5FF
208 style.cpp.032=face:%(mono)s
209 style.cpp.033=size:%(lnsize)s
210 style.cpp.034=fore:#0000FF,back:#FFFFB9,bold
211 style.cpp.035=fore:#FF0000,back:#FFFFB9,bold
212
213 [style.prop.default]
214 style.prop.000=fore:#000080
215 style.prop.001=fore:#008000,back:#DDFFDD
216 style.prop.002=bold
217 style.prop.003=bold,fore:#804000
218 style.prop.004=fore:#800000
219 style.prop.032=size:7
220
221 [style.text.default]
222
223 [python]
224 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
225 braces={'good': (9, 12), 'bad': (10, 12)}
226 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'}
227 lexer=wxSTC_LEX_PYTHON
228 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
229
230 [html]
231 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>
232 braces={}
233 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
234 lexer=wxSTC_LEX_HTML
235 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'}
236
237 [xml]
238 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>
239 braces={}
240 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
241 lexer=wxSTC_LEX_XML
242 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'}
243
244 [cpp]
245 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
246 braces={'good': (5, 10), 'bad': (5, 38)}
247 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
248 lexer=wxSTC_LEX_CPP
249 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'}
250
251 [prop]
252 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
253 braces={}
254 keywords=
255 lexer=wxSTC_LEX_PROPERTIES
256 styleidnames={0: 'Default', 1: 'Comment', 2: 'Section', 3: 'Assignment operator', 4:'Default value'}
257
258 [text]
259 displaysrc=Text uses the NULL lexer, so there\naren't really language spesific styles to set.\nOnly the default styles makes sense.
260 braces={}
261 keywords=
262 lexer=wxSTC_LEX_NULL
263 styleidnames={0: 'Default'}