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