1# Define SciTE settings for HTML files.
2
3# vxml added by lseredi
4
5file.patterns.web=*.html;*.htm;*.asp;*.shtml;*.htd;*.jsp;*.xhtml
6file.patterns.php=*.php3;*.phtml;*.php
7file.patterns.html=$(file.patterns.web);$(file.patterns.php);*.htt;*.cfm;*.tpl;*.dtd;*.hta
8file.patterns.vxml=*.vxml
9file.patterns.xml=*.xml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.xrc;*.rdf
10file.patterns.docbook=*.docbook
11
12# *.mak also used for makefiles so don't include by default.
13#file.patterns.mako=*.mak;*.mako
14file.patterns.mako=*.mako
15
16*source.patterns.cgi=*.cgi;
17*source.patterns.html=$(file.patterns.web);
18*source.patterns.xml=$(file.patterns.xml);
19
20lexer.$(file.patterns.html)=hypertext
21lexer.$(file.patterns.vxml)=hypertext
22lexer.$(file.patterns.xml)=xml
23lexer.$(file.patterns.docbook)=hypertext
24lexer.$(file.patterns.mako)=hypertext
25
26filter.web=Web (html htm asp shtml css xml docbook jsp)|$(file.patterns.web);*.css;*.xml;*.docbook|
27filter.php=PHP (php php3 phtml)|$(file.patterns.php)|
28
29*filter.web=$(filter.web)
30*filter.php=$(filter.php)
31
32*language.html=H&ypertext|html|$(keyHTML)|
33*language.php=P&HP|php||
34*language.xml=&XML|xml|$(keyXML)|
35
36fold.html=1
37#fold.html.preprocessor=0
38#fold.hypertext.comment=1
39#fold.hypertext.heredoc=1
40
41#Default Language=1 for JS, 2 for VBS.
42#asp.default.language=2
43#html.tags.case.sensitive=1
44
45#lexer.html.django=1
46#lexer.html.mako=1
47
48#xml.auto.close.tags=1
49#lexer.xml.allow.scripts=0
50
51# All hypertext elements and attributes must be listed in lower case
52hypertext.elements=\
53a abbr acronym address applet area b base basefont \
54bdo bgsound big blink blockquote body br button caption center \
55cite code col colgroup dd del dfn dir div dl dt em \
56fieldset font form frame frameset h1 h2 h3 h4 h5 h6 \
57head hr html i iframe img input ins isindex kbd label \
58legend li link listing map marquee menu menuitem meta multicol nobr noembed noframes noscript \
59object ol optgroup option p param plaintext pre q s samp \
60script select small spacer span strike strong style sub sup \
61table tbody td textarea tfoot th thead title tr tt u ul \
62var xml xmlns xmp
63
64hypertext.attributes=\
65abbr accept-charset accept accesskey action align alink \
66allowtransparency alt archive axis background bgcolor border bordercolor bottommargin \
67cellpadding cellspacing char charoff charset checked cite \
68class classid clear codebase codetype color cols colspan \
69compact content coords \
70data datafld dataformatas datapagesize datasrc datetime \
71declare defer dir disabled enctype event \
72face for frame frameborder framespacing \
73headers height href hreflang hspace http-equiv \
74id is ismap itemid itemprop itemref itemscope itemtype \
75label lang language leftmargin link longdesc lowsrc \
76marginwidth marginheight maxlength media method methods multiple \
77name nohref noresize noshade nowrap \
78object onblur onchange onclick ondblclick onfocus \
79onkeydown onkeypress onkeyup onload onmousedown \
80onmousemove onmouseover onmouseout onmouseup \
81onreset onselect onsubmit onunload \
82profile prompt readonly rel rev rightmargin rows rowspan rules \
83scheme scope scrolling selected shape size span src standby start style \
84summary tabindex target text title topmargin type usemap urn \
85valign value valuetype version vlink vspace width \
86text password checkbox radio submit reset \
87file hidden image \
88^data-
89
90# As defined in "HTML5 differences from HTML4" Working Draft
91# http://www.w3.org/TR/html5-diff/
92html5.elements=\
93address article aside audio base bdi canvas command details datalist dialog embed \
94figure figcaption footer header hgroup keygen main mark menu meter nav output \
95picture progress ruby rb rt rtc rp section source template track time video wbr
96
97html5.attributes=\
98allowfullscreen allowpaymentrequest async autocomplete autofocus autoplay \
99controls contenteditable contextmenu crossorigin default dirname download draggable \
100form formaction formenctype formmethod formnovalidate formtarget high kind \
101list low loop manifest max muted min minlength nonce novalidate open optimum \
102onabort onaddtrack onafterprint onauxclick onbeforeprint onbeforeunload \
103oncancel oncanplay oncanplaythrough onclose oncopy oncuechange oncut \
104ondrag ondragend ondragenter ondragexit ondragleave ondragover ondragstart ondrop ondurationchange \
105onemptied onended onerror onenter onexit onhashchange oninput oninvalid \
106onlanguagechange onloadeddata onloadedmetadata onloadend onloadstart \
107onmessage onmouseenter onmouseleave onoffline ononline \
108onpagehide onpageshow onpaste onpause onplay onplaying onprogress onpopstate \
109onratechange onremovetrack onresize onrejectionhandled onresize \
110onscroll onseeked onseeking onshow onstalled onstorage onsuspend ontimeupdate ontoggle \
111onunhandledrejection onvolumechange onwaiting onwheel \
112pattern placeholder poster preload \
113referrerpolicy required reversed role sandbox scoped seamless sizes spellcheck srcdoc srclang srcset step \
114translate typemustmatch wrap
115
116keywordclass.hypertext=\
117$(hypertext.elements) $(hypertext.attributes) $(html5.elements) $(html5.attributes) public !doctype
118
119vxml.elements=\
120assign audio block break catch choice clear disconnect else elseif \
121emphasis enumerate error exit field filled form goto grammar help \
122if initial link log menu meta noinput nomatch object option p paragraph \
123param phoneme prompt property prosody record reprompt return s say-as \
124script sentence subdialog submit throw transfer value var voice vxml
125
126vxml.attributes=\
127accept age alphabet anchor application base beep bridge category charset \
128classid cond connecttimeout content contour count dest destexpr dtmf dtmfterm \
129duration enctype event eventexpr expr expritem fetchtimeout finalsilence \
130gender http-equiv id level maxage maxstale maxtime message messageexpr \
131method mime modal mode name namelist next nextitem ph pitch range rate \
132scope size sizeexpr skiplist slot src srcexpr sub time timeexpr timeout \
133transferaudio type value variant version volume xml:lang
134
135keywordclass.vxml=\
136$(vxml.elements) $(vxml.attributes) public !doctype
137
138# List from http://www.php.net/manual/en/reserved.php (updated for PHP 5)
139# For a list with functions http://groups.google.com/group/scite-interest/web/extras
140# All words should be lower case to ensure case insensitivity when comparing
141keywordclass.php=\
142and array as bool boolean break case cfunction class const continue declare \
143default die directory do double echo else elseif empty enddeclare endfor \
144endforeach endif endswitch endwhile eval exit extends false float for \
145foreach function global goto if include include_once int integer isset list namespace \
146new null object old_function or parent print real require require_once resource \
147return static stdclass string switch true unset use var while xor \
148abstract catch clone exception final implements interface php_user_filter \
149private protected public this throw try \
150__class__ __dir__ __file__ __function__ __line__ __method__ \
151__namespace__ __sleep __wakeup
152
153# Override keywordclass.php with another file if present
154import phpfunctions
155
156keywords.$(file.patterns.html)=$(keywordclass.hypertext)
157# JavaScript keywords are possible inside embedded Javascript
158keywords2.$(file.patterns.html)=$(keywordclass.javascript)
159# VBScript keywords are possible inside embedded VBScript
160keywords3.$(file.patterns.html)=$(keywordclass.vb)
161# Python keywords are possible inside embedded Python
162keywords4.$(file.patterns.html)=$(keywordclass.python)
163# PHP keywords are possible inside embedded PHP
164keywords5.$(file.patterns.html)=$(keywordclass.php)
165# SGML / DTD keywords
166keywords6.$(file.patterns.html)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
167
168# START DocBook
169docbook.elements42=\
170abbrev abstract accel ackno acronym action address affiliation alt anchor \
171answer appendix appendixinfo application area areaset areaspec arg article \
172articleinfo artpagenums attribution audiodata audioobject author authorblurb \
173authorgroup authorinitials beginpage bibliocoverage bibliodiv biblioentry \
174bibliography bibliographyinfo biblioid bibliomisc bibliomixed bibliomset \
175bibliorelation biblioset bibliosource blockinfo blockquote book bookinfo \
176bridgehead callout calloutlist caption caution chapter chapterinfo citation \
177citebiblioid citerefentry citetitle city classname classsynopsis classsynopsisinfo \
178cmdsynopsis co collab collabname colophon colspec command computeroutput \
179confdates confgroup confnum confsponsor conftitle constant constraint \
180constraintdef constructorsynopsis contractnum contractsponsor contrib \
181copyright coref corpauthor corpname country database date dedication \
182destructorsynopsis edition editor email emphasis entry entrytbl envar \
183epigraph equation errorcode errorname errortext errortype example \
184exceptionname fax fieldsynopsis figure filename firstname firstterm \
185footnote footnoteref foreignphrase formalpara funcdef funcparams \
186funcprototype funcsynopsis funcsynopsisinfo function glossary glossaryinfo \
187glossdef glossdiv glossentry glosslist glosssee glossseealso glossterm \
188graphic graphicco group guibutton guiicon guilabel guimenu guimenuitem \
189guisubmenu hardware highlights holder honorific htm imagedata imageobject \
190imageobjectco important index indexdiv indexentry indexinfo indexterm \
191informalequation informalexample informalfigure informaltable initializer \
192inlineequation inlinegraphic inlinemediaobject interface interfacename \
193invpartnumber isbn issn issuenum itemizedlist itermset jobtitle keycap \
194keycode keycombo keysym keyword keywordset label legalnotice lhs lineage \
195lineannotation link listitem iteral literallayout lot lotentry manvolnum \
196markup medialabel mediaobject mediaobjectco member menuchoice methodname \
197methodparam methodsynopsis mm modespec modifier ousebutton msg msgaud \
198msgentry msgexplan msginfo msglevel msgmain msgorig msgrel msgset msgsub \
199msgtext nonterminal note objectinfo olink ooclass ooexception oointerface \
200option optional orderedlist orgdiv orgname otheraddr othercredit othername \
201pagenums para paramdef parameter part partinfo partintro personblurb \
202personname phone phrase pob postcode preface prefaceinfo primary primaryie \
203printhistory procedure production productionrecap productionset productname \
204productnumber programlisting programlistingco prompt property pubdate publisher \
205publishername pubsnumber qandadiv qandaentry qandaset question quote refclass \
206refdescriptor refentry refentryinfo refentrytitle reference referenceinfo \
207refmeta refmiscinfo refname refnamediv refpurpose refsect1 refsect1info refsect2 \
208refsect2info refsect3 refsect3info refsection refsectioninfo refsynopsisdiv \
209refsynopsisdivinfo releaseinfo remark replaceable returnvalue revdescription \
210revhistory revision revnumber revremark rhs row sbr screen screenco screeninfo \
211screenshot secondary secondaryie sect1 sect1info sect2 sect2info sect3 sect3info \
212sect4 sect4info sect5 sect5info section sectioninfo see seealso seealsoie \
213seeie seg seglistitem segmentedlist segtitle seriesvolnums set setindex \
214setindexinfo setinfo sgmltag shortaffil shortcut sidebar sidebarinfo simpara \
215simplelist simplemsgentry simplesect spanspec state step street structfield \
216structname subject subjectset subjectterm subscript substeps subtitle \
217superscript surname sv symbol synopfragment synopfragmentref synopsis \
218systemitem table tbody term tertiary tertiaryie textdata textobject tfoot \
219tgroup thead tip title titleabbrev toc tocback tocchap tocentry tocfront \
220toclevel1 toclevel2 toclevel3 toclevel4 toclevel5 tocpart token trademark \
221type ulink userinput varargs variablelist varlistentry varname videodata \
222videoobject void volumenum warning wordasword xref year
223
224docbook.attributes=\
225arch condition conformance id lang os remap role revision revisionflag security \
226userlevel vendor xreflabel \
227status label endterm linkend space width
228
229keywordclass.docbook=\
230$(docbook.elements42) $(docbook.attributes)
231
232keywordclass.mako=$(keywordclass.hypertext)
233keywords.$(file.patterns.mako)=$(keywordclass.hypertext)
234# JavaScript keywords are possible inside embedded Javascript
235keywords2.$(file.patterns.mako)=$(keywordclass.javascript)
236# VBScript keywords are possible inside embedded VBScript
237keywords3.$(file.patterns.mako)=$(keywordclass.vb)
238# Python keywords are possible inside embedded Python
239keywords4.$(file.patterns.mako)=$(keywordclass.python) include namespace inherit \
240call doc text page endclass endexcept endfinally endfor endif endtry endwhile block
241# PHP keywords are possible inside embedded PHP
242keywords5.$(file.patterns.mako)=$(keywordclass.php)
243# SGML / DTD keywords
244keywords6.$(file.patterns.mako)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
245
246# For Django's template language. Since Django seems to use the same .html extension
247# as plain HTML, it is up to the user to integrate these keywords if desired.
248keywordclass.django= not in autoescape with \
249csrf_token cycle empty block endblock filter endfilter for endfor firstof \
250if endif ifchanged endifchanged ifequal endifequal include load now regroup spaceless \
251endspaceless ssi url widthratio add addslashes capfirst center cut date \
252default default_if_none dictsort dictsortreversed divisibleby escape escapejs \
253filesizeformat first fix_ampersands float_format force_escape get_digit \
254iriencode join last length length_is linebreaks linebreaksbr linenumbers ljust \
255lower make_list phone2numeric pluralize pprint random removetags rjust safe \
256safeseq slice slugify stringformat striptags time timesince timeuntil title \
257truncatewords truncatewords_html unordered_list upper urlencode urlize \
258urlizetrunc wordcount wordwrap yesno apnumber intcomma intword ordinal \
259naturalday lorem
260
261keywords.$(file.patterns.docbook)=$(keywordclass.docbook)
262keywords6.$(file.patterns.docbook)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
263# END DocBook
264
265word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)$(chars.accented)_-$
266comment.stream.start.hypertext=<!--
267comment.stream.end.hypertext=-->
268comment.block.hypertext=//~
269comment.block.at.line.start.hypertext=1
270
271comment.box.start.xml=
272comment.stream.start.xml=
273
274# No keyword for xml, as it accepts any keyword
275keywords.$(file.patterns.xml)=
276# SGML / DTD keywords
277keywords6.$(file.patterns.xml)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
278
279word.characters.$(file.patterns.xml)=$(chars.alpha)$(chars.numeric)_-
280
281keywords.$(file.patterns.vxml)=$(keywordclass.vxml)
282keywords2.$(file.patterns.vxml)=$(keywordclass.javascript)
283
284
285
286word.characters.$(file.patterns.vxml)=$(chars.alpha)$(chars.numeric)_-
287
288# Define the background colours for SGML and each scripting language
289colour.hypertext.sgml.back=back:#EFEFFF
290colour.hypertext.server.javascript.back=back:#DFDF7F
291colour.hypertext.client.vbs.back=back:#EFEFFF
292colour.hypertext.server.vbs.back=back:#CFCFEF
293colour.hypertext.client.python.back=back:#EFFFEF
294colour.hypertext.server.python.back=back:#CFEFCF
295colour.hypertext.server.php.back=back:#FFF8F8
296
297# HTML and XML share lexing code so use the same style numbers
298# Hypertext Markup Language
299
300# Text
301style.hypertext.0=fore:#000000,$(font.text)
302# Tags
303style.hypertext.1=fore:#000080
304# Unknown Tags
305style.hypertext.2=fore:#FF0000
306# Attributes
307style.hypertext.3=fore:#008080
308# Unknown Attributes
309style.hypertext.4=fore:#FF0000
310# Numbers
311style.hypertext.5=$(colour.number)
312# Double quoted strings
313style.hypertext.6=$(colour.string)
314# Single quoted strings
315style.hypertext.7=$(colour.string)
316# Other inside tag, including space and '='
317style.hypertext.8=fore:#800080
318# Comment
319style.hypertext.9=fore:#808000,$(font.text.comment)
320# Entities
321style.hypertext.10=fore:#800080,$(font.text)
322# XML style tag ends '/>'
323style.hypertext.11=fore:#000080
324# XML identifier start '<?'
325style.hypertext.12=fore:#0000FF
326# XML identifier end '?>'
327style.hypertext.13=fore:#0000FF
328# Internal state which should never be visible
329style.hypertext.14=back:#FF0000
330# ASP <% ... %>
331style.hypertext.15=back:#FFFF00
332# ASP <% ... %>
333style.hypertext.16=back:#FFDF00
334# CDATA
335style.hypertext.17=back:#FFDF00
336# PHP
337style.hypertext.18=fore:#0000FF,back:#FFEFBF
338# Unquoted values
339style.hypertext.19=fore:#FF00FF,back:#FFEFFF
340# JSP Comment <%-- ... --%>
341style.hypertext.20=fore:#000000,back:#FFFFD0
342# SGML tags <! ... >
343style.hypertext.21=fore:#000080,$(colour.hypertext.sgml.back)
344# SGML command
345style.hypertext.22=fore:#000080,$(colour.hypertext.sgml.back),bold
346# SGML 1st param
347style.hypertext.23=fore:#006600,$(colour.hypertext.sgml.back)
348# SGML double string
349style.hypertext.24=fore:#800000,$(colour.hypertext.sgml.back)
350# SGML single string
351style.hypertext.25=fore:#993300,$(colour.hypertext.sgml.back)
352# SGML error
353style.hypertext.26=fore:#800000,back:#FF6666
354# SGML special (#XXXX type)
355style.hypertext.27=fore:#3366FF,$(colour.hypertext.sgml.back)
356# SGML entity
357style.hypertext.28=fore:#333333,$(colour.hypertext.sgml.back)
358# SGML comment
359style.hypertext.29=fore:#808000,$(colour.hypertext.sgml.back)
360# SGML first parameter - lexer internal. It is an error if any text is in this style.
361style.hypertext.30=fore:#808000,back:#FF0000
362# SGML block
363style.hypertext.31=fore:#000066,back:#CCCCE0
364# Some reasonable background colours found in the default Windows palette
365# Off White #FFFBF0    Light green #C0DCC0    Light Blue #A6CAF0
366# Matched Operators
367style.hypertext.34=fore:#0000FF,notbold,$(font.text)
368style.hypertext.35=fore:#FF0000,notbold,$(font.text)
369
370# Embedded Javascript
371fontcolour.js=$(colour.embedded.js),$(font.js)
372# JS Start - allows eol filled background to not start on same line as SCRIPT tag
373style.hypertext.40=fore:#7F7F00
374# JS Default
375style.hypertext.41=fore:#000000,bold,$(fontcolour.js),eolfilled
376# JS Comment
377style.hypertext.42=$(colour.code.comment.box),$(fontcolour.js),eolfilled
378# JS Line Comment
379style.hypertext.43=$(colour.code.comment.line),$(fontcolour.js)
380# JS Doc comment
381style.hypertext.44=$(colour.code.comment.doc),bold,$(fontcolour.js),eolfilled
382# JS Number
383style.hypertext.45=$(colour.number),$(fontcolour.js)
384# JS Word
385style.hypertext.46=fore:#000000,$(fontcolour.js)
386# JS Keyword
387style.hypertext.47=$(colour.keyword),bold,$(fontcolour.js)
388# JS Double quoted string
389style.hypertext.48=$(colour.string),$(fontcolour.js)
390# JS Single quoted string
391style.hypertext.49=$(colour.string),$(fontcolour.js)
392# JS Symbols
393style.hypertext.50=$(colour.operator),bold,$(fontcolour.js)
394# JavaScript EOL
395style.hypertext.51=back:#BFBBB0,eolfilled
396# JavaScript RegEx
397style.hypertext.52=back:#FFBBB0
398
399# ASP Javascript
400# JS Start - allows eol filled background to not start on same line as SCRIPT tag
401style.hypertext.55=fore:#7F7F00
402# JS Default
403style.hypertext.56=fore:#000000,bold,$(font.js),$(colour.hypertext.server.javascript.back),eolfilled
404# JS Comment
405style.hypertext.57=fore:#007F00,$(font.js),$(colour.hypertext.server.javascript.back),eolfilled
406# JS Line Comment
407style.hypertext.58=fore:#007F00,$(font.js),$(colour.hypertext.server.javascript.back)
408# JS Doc comment
409style.hypertext.59=fore:#7F7F7F,bold,$(font.js),$(colour.hypertext.server.javascript.back),eolfilled
410# JS Number
411style.hypertext.60=fore:#007F7F,$(font.js),$(colour.hypertext.server.javascript.back)
412# JS Word
413style.hypertext.61=fore:#000000,$(font.js),$(colour.hypertext.server.javascript.back)
414# JS Keyword
415style.hypertext.62=fore:#00007F,bold,$(font.js),$(colour.hypertext.server.javascript.back)
416# JS Double quoted string
417style.hypertext.63=fore:#7F007F,$(font.js),$(colour.hypertext.server.javascript.back)
418# JS Single quoted string
419style.hypertext.64=fore:#7F007F,$(font.js),$(colour.hypertext.server.javascript.back)
420# JS Symbols
421style.hypertext.65=fore:#000000,bold,$(font.js),$(colour.hypertext.server.javascript.back)
422# JavaScript EOL
423style.hypertext.66=back:#BFBBB0,eolfilled
424# JavaScript RegEx
425style.hypertext.67=back:#FFBBB0
426
427# Embedded VBS
428# Start
429style.hypertext.70=
430# Default
431style.hypertext.71=$(font.vbs),$(colour.hypertext.client.vbs.back),fore:#000000,eolfilled
432# Comment
433style.hypertext.72=$(font.comment),$(colour.hypertext.client.vbs.back),fore:#008000,eolfilled
434# Number
435style.hypertext.73=$(font.vbs),$(colour.hypertext.client.vbs.back),fore:#008080,eolfilled
436# KeyWord
437style.hypertext.74=$(font.vbs),$(colour.hypertext.client.vbs.back),fore:#000080,bold,eolfilled
438# String
439style.hypertext.75=$(font.vbs),$(colour.hypertext.client.vbs.back),fore:#800080,eolfilled
440# Identifier
441style.hypertext.76=$(font.vbs),$(colour.hypertext.client.vbs.back),fore:#000080,eolfilled
442# Unterminated string
443style.hypertext.77=$(font.vbs),back:#7F7FFF,fore:#000080,eolfilled
444
445# ASP VBS
446# Start
447style.hypertext.80=
448# Default
449style.hypertext.81=$(font.vbs),$(colour.hypertext.server.vbs.back),fore:#000000,eolfilled
450# Comment
451style.hypertext.82=$(font.comment),$(colour.hypertext.server.vbs.back),fore:#008000,eolfilled
452# Number
453style.hypertext.83=$(font.vbs),$(colour.hypertext.server.vbs.back),fore:#008080,eolfilled
454# KeyWord
455style.hypertext.84=$(font.vbs),$(colour.hypertext.server.vbs.back),fore:#000080,bold,eolfilled
456# String
457style.hypertext.85=$(font.vbs),$(colour.hypertext.server.vbs.back),fore:#800080,eolfilled
458# Identifier
459style.hypertext.86=$(font.vbs),$(colour.hypertext.server.vbs.back),fore:#000080,eolfilled
460# Unterminated string
461style.hypertext.87=$(font.vbs),back:#7F7FBF,fore:#000080,eolfilled
462
463# Embedded Python
464style.hypertext.90=fore:#808080
465style.hypertext.91=fore:#808080,$(colour.hypertext.client.python.back),eolfilled
466# Comment
467style.hypertext.92=fore:#007F00,$(font.comment),$(colour.hypertext.client.python.back),eolfilled
468# Number
469style.hypertext.93=fore:#007F7F,$(colour.hypertext.client.python.back),eolfilled
470# String
471style.hypertext.94=fore:#7F007F,$(font.monospace),$(colour.hypertext.client.python.back),eolfilled
472# Single quoted string
473style.hypertext.95=fore:#7F007F,$(font.monospace),$(colour.hypertext.client.python.back),eolfilled
474# Keyword
475style.hypertext.96=fore:#00007F,bold,$(colour.hypertext.client.python.back),eolfilled
476# Triple quotes
477style.hypertext.97=fore:#7F0000,$(colour.hypertext.client.python.back),eolfilled
478# Triple double quotes
479style.hypertext.98=fore:#7F0000,$(colour.hypertext.client.python.back),eolfilled
480# Class name definition
481style.hypertext.99=fore:#0000FF,bold,$(colour.hypertext.client.python.back),eolfilled
482# Function or method name definition
483style.hypertext.100=fore:#007F7F,bold,$(colour.hypertext.client.python.back),eolfilled
484# Operators
485style.hypertext.101=bold,$(colour.hypertext.client.python.back),eolfilled
486# Identifiers
487style.hypertext.102=$(colour.hypertext.client.python.back),eolfilled
488
489# PHP complex variable
490style.hypertext.104=fore:#007F00,italics,$(colour.hypertext.server.php.back)
491
492# ASP Python
493style.hypertext.105=fore:#808080
494style.hypertext.106=fore:#808080,$(colour.hypertext.server.python.back),eolfilled
495# Comment
496style.hypertext.107=fore:#007F00,$(font.comment),$(colour.hypertext.server.python.back),eolfilled
497# Number
498style.hypertext.108=fore:#007F7F,$(colour.hypertext.server.python.back),eolfilled
499# String
500style.hypertext.109=fore:#7F007F,$(font.monospace),$(colour.hypertext.server.python.back),eolfilled
501# Single quoted string
502style.hypertext.110=fore:#7F007F,$(font.monospace),$(colour.hypertext.server.python.back),eolfilled
503# Keyword
504style.hypertext.111=fore:#00007F,bold,$(colour.hypertext.server.python.back),eolfilled
505# Triple quotes
506style.hypertext.112=fore:#7F0000,$(colour.hypertext.server.python.back),eolfilled
507# Triple double quotes
508style.hypertext.113=fore:#7F0000,$(colour.hypertext.server.python.back),eolfilled
509# Class name definition
510style.hypertext.114=fore:#0000FF,bold,$(colour.hypertext.server.python.back),eolfilled
511# Function or method name definition
512style.hypertext.115=fore:#007F7F,bold,$(colour.hypertext.server.python.back),eolfilled
513# Operators
514style.hypertext.116=bold,$(colour.hypertext.server.python.back),eolfilled
515# Identifiers
516style.hypertext.117=$(colour.hypertext.server.python.back),eolfilled
517
518# PHP
519# Default
520style.hypertext.118=fore:#000033,$(colour.hypertext.server.php.back),eolfilled
521# Double quoted String
522style.hypertext.119=fore:#007F00,$(colour.hypertext.server.php.back)
523# Single quoted string
524style.hypertext.120=fore:#009F00,$(colour.hypertext.server.php.back)
525# Keyword
526style.hypertext.121=fore:#7F007F,italics,$(colour.hypertext.server.php.back)
527# Number
528style.hypertext.122=fore:#CC9900,$(colour.hypertext.server.php.back)
529# Variable
530style.hypertext.123=fore:#00007F,italics,$(colour.hypertext.server.php.back)
531# Comment
532style.hypertext.124=fore:#999999,$(font.comment),$(colour.hypertext.server.php.back)
533# One line comment
534style.hypertext.125=fore:#666666,italics,$(font.comment),$(colour.hypertext.server.php.back)
535# PHP variable in double quoted string
536style.hypertext.126=fore:#007F00,italics,$(colour.hypertext.server.php.back)
537# PHP operator
538style.hypertext.127=fore:#000000,$(colour.hypertext.server.php.back)
539
540# XML: eXtensible Markup Language
541# For XML, there is no list of known tags or attributes so all are coloured known
542
543# Default
544style.xml.0=fore:#000000,$(font.text)
545# Tags
546style.xml.1=fore:#000080
547# Unknown Tags
548style.xml.2=fore:#000080
549# Attributes
550style.xml.3=fore:#008080
551# Unknown Attributes
552style.xml.4=fore:#008080
553# Numbers
554style.xml.5=$(colour.number)
555# Double quoted strings
556style.xml.6=$(colour.string)
557# Single quoted strings
558style.xml.7=$(colour.string)
559# Other inside tag, including space and '='
560style.xml.8=fore:#800080
561# Comment
562style.xml.9=fore:#808000
563# Entities
564style.xml.10=fore:#800080,$(font.text)
565# XML style tag ends '/>'
566style.xml.11=fore:#000080
567# XML identifier start '<?'
568style.xml.12=fore:#800080,bold
569# XML identifier end '?>'
570style.xml.13=fore:#800080,bold
571# CDATA
572style.xml.17=fore:#800000,back:#FFF0F0,$(font.text),eolfilled
573# Question
574style.xml.18=fore:#800000
575# Unquoted Value
576style.xml.19=fore:#608060
577# SGML tags <! ... >
578style.xml.21=fore:#000080,$(colour.hypertext.sgml.back)
579# SGML command
580style.xml.22=fore:#000080,$(colour.hypertext.sgml.back),bold
581# SGML 1st param
582style.xml.23=fore:#006600,$(colour.hypertext.sgml.back)
583# SGML double string
584style.xml.24=fore:#800000,$(colour.hypertext.sgml.back)
585# SGML single string
586style.xml.25=fore:#993300,$(colour.hypertext.sgml.back)
587# SGML error
588style.xml.26=fore:#800000,back:#FF6666
589# SGML special (#XXXX type)
590style.xml.27=fore:#3366FF,$(colour.hypertext.sgml.back)
591# SGML entity
592style.xml.28=fore:#333333,$(colour.hypertext.sgml.back)
593# SGML comment
594style.xml.29=fore:#808000,$(colour.hypertext.sgml.back)
595# SGML block
596style.xml.31=fore:#000066,back:#CCCCE0
597# No brace matching in XML
598braces.xml.style=31
599
600if PLAT_WIN
601	command.go.$(file.patterns.web)="file://$(FilePath)"
602	command.go.subsystem.$(file.patterns.web)=2
603if PLAT_GTK
604	command.go.$(file.patterns.web)=xdg-open "file://$(FilePath)"
605if PLAT_MAC
606	command.go.$(file.patterns.web)=open "file://$(FilePath)"
607	command.go.subsystem.$(file.patterns.web)=2
608
609command.go.$(file.patterns.php)=php -f "$(FileNameExt)"
610command.compile.$(file.patterns.php)=php -l "$(FileNameExt)"
611