# Define SciTE settings for HTML files. # vxml added by lseredi # tpl is X and Mail specific file.patterns.web=*.html;*.htm;*.asp;*.shtml;*.htd file.patterns.html=$(file.patterns.web);*.htt;*.cfm;*.tpl;*.dtd;*.hta file.patterns.vxml=*.vxml file.patterns.xml=*.xml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.ant lexer.$(file.patterns.html)=hypertext lexer.$(file.patterns.vxml)=hypertext lexer.$(file.patterns.xml)=xml filter.web=Web (html htm asp shtml css xml)|$(file.patterns.web);*.css;*.xml| #filter.php=PHP (php php3 phtml)|$(file.patterns.php)| fold.html=1 #fold.html.preprocessor=0 #Default Language=1 for JS, 2 for VBS. asp.default.language=2 #html.tags.case.sensitive=1 xml.auto.close.tags=0 # All hypertext elements and attributes must be listed in lower case hypertext.elements=\ 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 xml xmlns hypertext.attributes=\ 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 event \ face for frame frameborder \ headers height href hreflang hspace http-equiv \ id ismap label lang language leftmargin 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 selected shape size span src standby start style \ summary tabindex target text title topmargin type usemap \ valign value valuetype version vlink vspace width \ text password checkbox radio submit reset \ file hidden image keywordclass.hypertext=\ $(hypertext.elements) $(hypertext.attributes) public !doctype vxml.elements=\ assign audio block break catch choice clear disconnect else elseif \ emphasis enumerate error exit field filled form goto grammar help \ if initial link log menu meta noinput nomatch object option p paragraph \ param phoneme prompt property prosody record reprompt return s say-as \ script sentence subdialog submit throw transfer value var voice vxml vxml.attributes=\ accept age alphabet anchor application base beep bridge category charset \ classid cond connecttimeout content contour count dest destexpr dtmf dtmfterm \ duration enctype event eventexpr expr expritem fetchtimeout finalsilence \ gender http-equiv id level maxage maxstale maxtime message messageexpr \ method mime modal mode name namelist next nextitem ph pitch range rate \ scope size sizeexpr skiplist slot src srcexpr sub time timeexpr timeout \ transferaudio type value variant version volume xml:lang keywordclass.vxml=\ $(vxml.elements) $(vxml.attributes) public !doctype # Override keywordclass.php with another file if present import php keywords.$(file.patterns.html)=$(keywordclass.hypertext) # JavaScript keywords are possible inside embedded Javascript keywords2.$(file.patterns.html)=$(keywordclass.javascript) # VBScript keywords are possible inside embedded VBScript keywords3.$(file.patterns.html)=$(keywordclass.vb) # Python keywords are possible inside embedded Python keywords4.$(file.patterns.html)=$(keywordclass.python) # PHP keywords are possible inside embedded PHP # keywords5.$(file.patterns.html)=$(keywordclass.php) # SGML / DTD keywords keywords6.$(file.patterns.html)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)_- comment.stream.start.hypertext= # No keyword for xml, as it accepts any keyword keywords.$(file.patterns.xml)= # SGML / DTD keywords keywords6.$(file.patterns.xml)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION word.characters.$(file.patterns.xml)=$(chars.alpha)$(chars.numeric)_- keywords.$(file.patterns.vxml)=$(keywordclass.vxml) keywords2.$(file.patterns.vxml)=$(keywordclass.javascript) word.characters.$(file.patterns.vxml)=$(chars.alpha)$(chars.numeric)_- keywords.*.css=\ background background-attachment background-color background-image background-position background-repeat \ border-color border-bottom border-bottom-width border-left border-left-width \ border border-right-width border-right border-style border-top border-top-width border-width \ clear clip color cursor display float \ font font-family font-size font-style font-variant font-weight \ height left letter-spacing line-height \ list-style list-style-image list-style-position list-style-type \ margin margin-bottom margin-left margin-right margin-top overflow \ padding padding-bottom padding-left padding-right padding-top position \ text-align text-decoration text-indent text-transform top \ vertical-align visibility width white-space word-spacing z-index word.characters.*.css=$(chars.alpha)$(chars.numeric)_- # HTML and XML share lexing code so use the same style numbers # Hypertext Markup Language # Text style.hypertext.0=fore:#000000,$(font.text),back:#FFF3E1 # Tags style.hypertext.1=fore:#000080,back:#FFF3E1,bold # Unknown Tags style.hypertext.2=fore:#FF0000,back:#FFF3E1 # Attributes style.hypertext.3=fore:#FF0000,back:#FFF3E1 # Unknown Attributes style.hypertext.4=fore:#FF0000,back:#FFF3E1 # Numbers style.hypertext.5=fore:#000000,back:#FFF3E1 # Double quoted strings style.hypertext.6=fore:#006600,back:#FFF3E1 # Single quoted strings style.hypertext.7=fore:#006600,back:#FFF3E1 # Other inside tag style.hypertext.8=fore:#800080,back:#FFF3E1 # Comment style.hypertext.9=fore:#999999,$(font.comment),back:#FFF3E1 # Entities style.hypertext.10=fore:#800080,$(font.text),back:#FFF3E1 # XML style tag ends '/>' style.hypertext.11=fore:#000080,back:#FFF3E1 # XML identifier start '' style.hypertext.13=fore:#0000FF,back:#FFF3E1 # SCRIPT style.hypertext.14=fore:#000080,back:#FFF3E1 # ASP <% ... %> style.hypertext.15=back:#FFFF00,back:#FFF3E1 # ASP <% ... %> style.hypertext.16=back:#FFDF00,back:#FFF3E1 # CDATA style.hypertext.17=back:#FFDF00,back:#FFF3E1 # PHP style.hypertext.18=fore:#0000FF,back:#FFEFBF # Unquoted values style.hypertext.19=fore:#FF0000,back:#FFFF00 # SGML tags style.hypertext.21=fore:#000080,back:#EFEFFF # SGML command style.hypertext.22=fore:#000080,back:#EFEFFF,bold # SGML 1st param style.hypertext.23=fore:#006600,back:#EFEFFF # SGML double string style.hypertext.24=fore:#800000,back:#EFEFFF # SGML single string style.hypertext.25=fore:#993300,back:#EFEFFF # SGML error style.hypertext.26=fore:#800000,back:#FF6666 # SGML special (#xxxx type) style.hypertext.27=fore:#3366FF,back:#EFEFFF # SGML entity style.hypertext.28=fore:#333333,back:#EFEFFF # SGML comment style.hypertext.29=fore:#808000,back:#EFEFFF # SGML block style.hypertext.31=fore:#000066,back:#CCCCE0 # Some reasonable background colours found in the default Windows palette # Off White #FFFBF0 Light green #C0DCC0 Light Blue #A6CAF0 # Matched Operators style.hypertext.34=fore:#0000FF,notbold,$(font.text) style.hypertext.35=fore:#FF0000,notbold,$(font.text) # Embedded Javascript fontcolour.js=$(colour.embedded.js),$(font.js) # JS Start - allows eol filled background to not start on same line as SCRIPT tag style.hypertext.40=fore:#7F7F00 # JS Default style.hypertext.41=fore:#000000,bold,$(fontcolour.js),eolfilled # JS Comment style.hypertext.42=$(colour.code.comment.box),$(fontcolour.js),eolfilled # JS Line Comment style.hypertext.43=$(colour.code.comment.line),$(fontcolour.js) # JS Doc comment style.hypertext.44=$(colour.code.comment.doc),bold,$(fontcolour.js),eolfilled # JS Number style.hypertext.45=$(colour.number),$(fontcolour.js) # JS Word style.hypertext.46=fore:#000000,$(fontcolour.js) # JS Keyword style.hypertext.47=$(colour.keyword),bold,$(fontcolour.js) # JS Double quoted string style.hypertext.48=$(colour.string),$(fontcolour.js) # JS Single quoted string style.hypertext.49=$(colour.string),$(fontcolour.js) # JS Symbols style.hypertext.50=$(colour.operator),$(fontcolour.js) # JavaScript EOL style.hypertext.51=back:#BFBBB0,eolfilled # JavaScript RegEx style.hypertext.52=back:#FFBBB0 # ASP Javascript # JS Start - allows eol filled background to not start on same line as SCRIPT tag style.hypertext.55=fore:#7F7F00 # JS Default style.hypertext.56=fore:#000000,bold,$(font.js),back:#DFDF7F,eolfilled # JS Comment style.hypertext.57=fore:#007F00,$(font.js),back:#DFDF7F,eolfilled # JS Line Comment style.hypertext.58=fore:#007F00,$(font.js),back:#DFDF7F # JS Doc comment style.hypertext.59=fore:#7F7F7F,bold,$(font.js),back:#DFDF7F,eolfilled # JS Number style.hypertext.60=fore:#007F7F,$(font.js),back:#DFDF7F # JS Word style.hypertext.61=fore:#000000,$(font.js),back:#DFDF7F # JS Keyword style.hypertext.62=fore:#00007F,bold,$(font.js),back:#DFDF7F # JS Double quoted string style.hypertext.63=fore:#7F007F,$(font.js),back:#DFDF7F # JS Single quoted string style.hypertext.64=fore:#7F007F,$(font.js),back:#DFDF7F # JS Symbols style.hypertext.65=fore:#000000,bold,$(font.js),back:#DFDF7F # JavaScript EOL style.hypertext.66=back:#BFBBB0,eolfilled # JavaScript RegEx style.hypertext.67=back:#FFBBB0 # Embedded VBS # Start style.hypertext.70= # Default style.hypertext.71=$(font.vbs),back:#EFEFFF,fore:#000000,eolfilled # Comment style.hypertext.72=$(font.comment),back:#EFEFFF,fore:#008000,eolfilled # Number style.hypertext.73=$(font.vbs),back:#EFEFFF,fore:#008080,eolfilled # KeyWord style.hypertext.74=$(font.vbs),back:#EFEFFF,fore:#000080,bold,eolfilled # String style.hypertext.75=$(font.vbs),back:#EFEFFF,fore:#800080,eolfilled # Identifier style.hypertext.76=$(font.vbs),back:#EFEFFF,fore:#000080,eolfilled # Unterminated string style.hypertext.77=$(font.vbs),back:#7F7FFF,fore:#000080,eolfilled # ASP VBS # Start style.hypertext.80= # Default style.hypertext.81=$(font.vbs),back:#CFCFEF,fore:#000000,eolfilled # Comment style.hypertext.82=$(font.comment),back:#CFCFEF,fore:#008000,eolfilled # Number style.hypertext.83=$(font.vbs),back:#CFCFEF,fore:#008080,eolfilled # KeyWord style.hypertext.84=$(font.vbs),back:#CFCFEF,fore:#000080,bold,eolfilled # String style.hypertext.85=$(font.vbs),back:#CFCFEF,fore:#800080,eolfilled # Identifier style.hypertext.86=$(font.vbs),back:#CFCFEF,fore:#000080,eolfilled # Unterminated string style.hypertext.87=$(font.vbs),back:#7F7FBF,fore:#000080,eolfilled # Embedded Python style.hypertext.90=fore:#808080 style.hypertext.91=fore:#808080,back:#EFFFEF,eolfilled # Comment style.hypertext.92=fore:#007F00,$(font.comment),back:#EFFFEF,eolfilled # Number style.hypertext.93=fore:#007F7F,back:#EFFFEF,eolfilled # String style.hypertext.94=fore:#7F007F,$(font.string.literal),back:#EFFFEF,eolfilled # Single quoted string style.hypertext.95=fore:#7F007F,$(font.string.literal),back:#EFFFEF,eolfilled # Keyword style.hypertext.96=fore:#00007F,bold,back:#EFFFEF,eolfilled # Triple quotes style.hypertext.97=fore:#7F0000,back:#EFFFEF,eolfilled # Triple double quotes style.hypertext.98=fore:#7F0000,back:#EFFFEF,eolfilled # Class name definition style.hypertext.99=fore:#0000FF,bold,back:#EFFFEF,eolfilled # Function or method name definition style.hypertext.100=fore:#007F7F,bold,back:#EFFFEF,eolfilled # Operators style.hypertext.101=bold,back:#EFFFEF,eolfilled # Identifiers style.hypertext.102=back:#EFFFEF,eolfilled # ASP Python style.hypertext.105=fore:#808080 style.hypertext.106=fore:#808080,back:#CFEFCF,eolfilled # Comment style.hypertext.107=fore:#007F00,$(font.comment),back:#CFEFCF,eolfilled # Number style.hypertext.108=fore:#007F7F,back:#CFEFCF,eolfilled # String style.hypertext.109=fore:#7F007F,$(font.string.literal),back:#CFEFCF,eolfilled # Single quoted string style.hypertext.110=fore:#7F007F,$(font.string.literal),back:#CFEFCF,eolfilled # Keyword style.hypertext.111=fore:#00007F,bold,back:#CFEFCF,eolfilled # Triple quotes style.hypertext.112=fore:#7F0000,back:#CFEFCF,eolfilled # Triple double quotes style.hypertext.113=fore:#7F0000,back:#CFEFCF,eolfilled # Class name definition style.hypertext.114=fore:#0000FF,bold,back:#CFEFCF,eolfilled # Function or method name definition style.hypertext.115=fore:#007F7F,bold,back:#CFEFCF,eolfilled # Operators style.hypertext.116=bold,back:#CFEFCF,eolfilled # Identifiers style.hypertext.117=back:#CFEFCF,eolfilled # XML: eXtensible Markup Language # For XML, there is no list of known tags or attributes so all are coloured known # Default style.xml.0=fore:#000000,back:#FFF3E1,eolfilled,$(font.text) # Tags style.xml.1=fore:#000080,back:#FFF3E1 # Unknown Tags style.xml.2=fore:#000080,back:#FFF3E1 # Attributes style.xml.3=fore:#008080,back:#FFF3E1 # Unknown Attributes style.xml.4=fore:#008080,back:#FFF3E1 # Numbers style.xml.5=$(colour.number),back:#FFF3E1 # Double quoted strings style.xml.6=$(colour.string),back:#FFF3E1 # Single quoted strings style.xml.7=$(colour.string),back:#FFF3E1 # Other inside tag style.xml.8=fore:#800080,back:#FFF3E1 # Comment style.xml.9=fore:#808000,back:#FFF3E1 # Entities style.xml.10=fore:#800080,$(font.text),back:#FFF3E1 # XML style tag ends '/>' style.xml.11=fore:#000080,back:#FFF3E1 # XML identifier start '' style.xml.13=fore:#800080,bold # CDATA style.xml.17=fore:#800000,back:#FFF0F0,$(font.text),eolfilled # Question style.xml.18=fore:#800000 # Unquoted Value style.xml.19=fore:#608060 # SGML tags style.xml.21=fore:#000080,back:#EFEFFF # SGML command style.xml.22=fore:#000080,back:#EFEFFF,bold # SGML 1st param style.xml.23=fore:#006600,back:#EFEFFF # SGML double string style.xml.24=fore:#800000,back:#EFEFFF # SGML single string style.xml.25=fore:#993300,back:#EFEFFF # SGML error style.xml.26=fore:#800000,back:#FF6666 # SGML special (#xxxx type) style.xml.27=fore:#3366FF,back:#EFEFFF # SGML entity style.xml.28=fore:#333333,back:#EFEFFF # SGML comment style.xml.29=fore:#808000,back:#EFEFFF # SGML block style.xml.31=fore:#000066,back:#CCCCE0 # No brace matching in XML braces.xml.style=31 if PLAT_WIN command.go.$(file.patterns.web)="file://$(FilePath)" command.go.subsystem.$(file.patterns.web)=2 command.go.$(file.patterns.php)=php -f $(FileNameExt) if PLAT_GTK command.go.$(file.patterns.web)=netscape "file://$(FilePath)" api.$(file.patterns.php)=$(SciteDefaultHome)\php.api