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