Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding='Windows-1251'?>
- <!DOCTYPE hrc PUBLIC
- "-//Cail Lomecb//DTD Colorer HRC take5//EN"
- "http://colorer.sf.net/2003/hrc.dtd"
- [
- <!-- include -->
- <!ENTITY scripts-colorer-protos SYSTEM "scripts.colorer.ent.hrc">
- <!ENTITY scripts-far-protos SYSTEM "scripts.far.ent.hrc">
- <!ENTITY scripts-ini-protos SYSTEM "scripts.ini.ent.hrc">
- <!ENTITY scripts-msg-protos SYSTEM "scripts.msg.ent.hrc">
- <!ENTITY rare-ie-weidu-protos SYSTEM "rare.ie-weidu.ent.hrc">
- <!ENTITY rare-j2ee-protos SYSTEM "rare.j2ee.ent.hrc">
- <!ENTITY rare-qrm-protos SYSTEM "rare.qrm.ent.hrc">
- <!ENTITY rare-scripts-protos SYSTEM "rare.scripts.ent.hrc">
- <!ENTITY rare-gen-protos SYSTEM "rare.gen.ent.hrc">
- <!-- auto -->
- <!ENTITY php-proto-gen SYSTEM "php-prot.ent.hrc">
- ]>
- <hrc version="take5" xmlns="http://colorer.sf.net/2003/hrc"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://colorer.sf.net/2003/hrc http://colorer.sf.net/2003/hrc.xsd">
- <annotation>
- <documentation>
- This is a base HRC file with prototype defines and types linking information.
- </documentation>
- </annotation>
- <!-- main languages -->
- <prototype name="c" group="main" description="C">
- <location link="jar:common.jar!base/c.hrc"/>
- <filename>/\.c$/i</filename>
- <parameters>
- <param name="ansi-defines" value="true" description="Use ANSI C standard library keywords"/>
- <param name="win32-specific" value="true" description="Use Windows specific definitions"/>
- <param name="unix-specific" value="true" description="Use Unix/Linux specific definitions"/>
- <param name="doxygen-comments" value="true" description="Use Doxygen syntax in comments"/>
- <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
- <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
- <param name="include-in-outline" value="false" description="Shows #include in the outline list"/>
- <param name="define-in-outline" value="false" description="Shows #define in the outline list"/>
- </parameters>
- </prototype>
- <prototype name="cpp" group="main" description="C++">
- <location link="jar:common.jar!base/cpp.hrc"/>
- <filename>/\.(cpp|cxx|cc|hpp|h)$/i</filename>
- <firstline>/^\s*(\/\* | \/\/)/xi</firstline>
- <firstline>/\#include/</firstline>
- <firstline>/\#define|\#if/</firstline>
- <parameters>
- <param name="qt-defines" value="true" description="Use QT specific keywords"/>
- <param name="stl-defines" value="true" description="Use STL specific keywords"/>
- <param name="afx-defines" value="true" description="Highlight MFC autogenerateg block"/>
- <param name="win32-specific" value="true" description="Use Windows specific definitions"/>
- <param name="unix-specific" value="true" description="Use Unix/Linux specific definitions"/>
- <param name="doxygen-comments" value="true" description="Use Doxygen syntax in comments"/>
- <!-- firstline -->
- <param name='firstlines' value='10' description="lines for 'firstline'"/>
- <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
- </parameters>
- </prototype>
- <package name="cpp-qt" description="C++ + Qt">
- <location link="jar:common.jar!base/cpp-qt.hrc"/>
- </package>
- <prototype name="d" group="main" description="D">
- <location link="jar:common.jar!base/d.hrc"/>
- <filename>/\.(d|di)$/i</filename>
- <parameters>
- <param name="format-str" value="true" description="Highlight printf-like %format in strings"/>
- <param name="use_phobos" value="true" description="Use Phobos library keywords"/>
- <param name="use_tango" value="false" description="Use Tango library keywords"/>
- <param name="d2" value="true" description="Use D 2.0 language features"/>
- <!-- firstline -->
- <param name='firstlines' value='10' description="lines for 'firstline'"/>
- <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
- </parameters>
- </prototype>
- <prototype name="asm" group="main" description="ASM">
- <location link="jar:common.jar!base/asm.hrc"/>
- <filename>/\.(mac|asm|inc|i32|cod)$/i</filename>
- <firstline>/^\s*;/</firstline>
- </prototype>
- <prototype name="perl" group="main" description="Perl">
- <location link="jar:common.jar!base/perl.hrc"/>
- <filename>/\.(pl[sx]?|pm|pod|t)$/i</filename>
- <firstline weight='2'>/^\#!\s*.+perl\b/</firstline>
- <firstline>/perl/i</firstline>
- <parameters>
- <param name="use-packages" value="true" description="Highlight perl packages"/>
- <param name="data-code" value="true" description="Treat __DATA__ sections as code"/>
- </parameters>
- </prototype>
- <prototype name="java" group="main" description="Java">
- <location link="jar:common.jar!base/java.hrc"/>
- <filename>/\.(java|jav|jad)$/i</filename>
- <firstline weight='2'>/^\/\/ Decompiled by Jad/</firstline>
- <parameters>
- <param name="j2se-classes" value="true" description="Use some common used J2SE class names"/>
- <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
- <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
- </parameters>
- </prototype>
- <prototype name="idl" group="main" description="IDL">
- <location link="jar:common.jar!base/idl.hrc"/>
- <filename>/\.(hvs|(i|o)dl)$/i</filename>
- <firstline>/^\s*(\/\* | \/\/)/xi</firstline>
- <firstline>/\#include/</firstline>
- </prototype>
- <prototype name="pascal" group="main" description="Pascal">
- <location link="jar:common.jar!base/pascal.hrc"/>
- <filename>/\.(\~?pas|dpr|dpk|inc|int|pp)$/i</filename>
- <firstline>/^(\{|\/\/|resourcestring|program|library|unit|package)/i</firstline>
- </prototype>
- <prototype name="csharp" group="main" description="C#">
- <location link="jar:common.jar!base/csharp.hrc"/>
- <filename>/\.cs$/i</filename>
- </prototype>
- <prototype name="jsnet" group="main" description="JS.NET">
- <location link="jar:common.jar!base/js.net.hrc"/>
- <filename weight="0.5">/\.js$/i</filename>
- </prototype>
- <prototype name="vbnet" group="main" description="VB.NET">
- <location link="jar:common.jar!base/vb.net.hrc"/>
- <filename>/\.vb$/i</filename>
- </prototype>
- <!-- warning!! extensions conflict with Fortran -->
- <prototype name="forth" group="main" description="Forth">
- <location link="jar:common.jar!base/forth.hrc"/>
- <filename>/\.(fth|f32|f|spf)$/i</filename>
- </prototype>
- <prototype name="fortran" group="main" description="Fortran">
- <location link="jar:common.jar!base/fortran.hrc"/>
- <filename>/\.(for|f(90)?)$/i</filename>
- </prototype>
- <prototype name="vbasic" group="main" description="Visual Basic">
- <location link="jar:common.jar!base/vbasic.hrc"/>
- <filename>/\.(bas|vbp|frm|cls)$/i</filename>
- <firstline>/^(VERSION|VBWIZARD) \d+.\d+/</firstline>
- </prototype>
- <prototype name="python" group="main" description="Python">
- <location link="jar:common.jar!base/python.hrc"/>
- <filename>/\.(py|pyw|pys)$/i</filename>
- <firstline weight='2'>/^\#!\S*.+python/</firstline>
- </prototype>
- <prototype name="lua" group="main" description="Lua">
- <location link="jar:common.jar!base/lua.hrc"/>
- <filename>/\.(lua)$/i</filename>
- </prototype>
- <prototype name="ruby" group="main" description="Ruby">
- <location link="jar:common.jar!base/ruby.hrc"/>
- <filename>/\.(rb|rbw|ruby|rake)$/i</filename>
- <filename>/Rakefile$/i</filename>
- <firstline weight='4'>/-\*- ruby -\*-/i</firstline>
- <firstline>/bin\/ruby/i</firstline>
- </prototype>
- <prototype name="scala" group="main" description="Scala">
- <location link="jar:common.jar!base/scala.hrc"/>
- <filename>/\.(scala)$/i</filename>
- </prototype>
- <prototype name="tcltk" group="main" description="Tcl/Tk/Expect">
- <location link="jar:common.jar!base/tcltk.hrc"/>
- <filename>/\.(tcl|tk|exp)$/i</filename>
- <firstline>/^\#(!\s*.+(tcl|wi)?sh\b)/</firstline>
- </prototype>
- <!-- inet languages -->
- <package name="html-entity" description="(x)html entities">
- <location link="jar:common.jar!inet/gen/html-entity.hrc"/>
- </package>
- <prototype name="html" group="inet" description="html">
- <location link="jar:common.jar!inet/html.hrc"/>
- <filename>/\.[^ptr]??html?$/i</filename>
- <firstline>/^\s*<((!DOCTYPE\s+)?HTML|!\-\-)/i</firstline>
- </prototype>
- <prototype name="css" group="inet" description="css">
- <location link="jar:common.jar!inet/css.hrc"/>
- <filename>/\.(css)$/i</filename>
- <parameters>
- <param name="html-css" value="true" description="Default use css for HTML"/>
- <param name="svg-css" value="false" description="Default use css for SVG"/>
- </parameters>
- </prototype>
- <prototype name="html-css" group="inet" description="css for html">
- <location link="jar:common.jar!inet/html-css.hrc"/>
- <filename weight="0">/\.(css)$/i</filename>
- <parameters>
- <param name="ie-css" value="true" description="Use non-standard MSIE css extensions"/>
- <param name="moz-css" value="true" description="Use non-standard Gecho-based css extensions"/>
- </parameters>
- </prototype>
- <prototype name="svg-css" group="inet" description="css for svg">
- <location link="jar:common.jar!inet/svg-css.hrc"/>
- <filename weight="0">/\.(css)$/i</filename>
- </prototype>
- <prototype name="sass" group="inet" description="SASS">
- <location link="jar:common.jar!inet/sass.hrc"/>
- <filename>/\.(sass)$/i</filename>
- </prototype>
- <prototype name="haml" group="inet" description="HAML">
- <location link="jar:common.jar!inet/haml.hrc"/>
- <filename>/\.(haml)$/i</filename>
- </prototype>
- <prototype name="erb" group="inet" description="ERB">
- <location link="jar:common.jar!inet/erb.hrc"/>
- <filename weight='4'>/\.(erb|rhtml|html\.erb)$/i</filename>
- </prototype>
- <prototype name="jsp" group="inet" description="jsp">
- <location link="jar:common.jar!inet/jsp.hrc"/>
- <filename>/\.(jspf?|tag)$/i</filename>
- </prototype>
- <prototype name="php" group="inet" description="php">
- <location link="jar:common.jar!inet/php.hrc"/>
- <filename>/\.(php\d?|phtml|thtml|inc)$/i</filename>
- <firstline>/^<\?(php)/</firstline>
- <firstline weight='2'>/^#!\S*(php)/</firstline>
- <parameters>
- <param name="posix-re" value="false" description='Use eregs highlightning'/>
- <param name="include-base-consts" value="true" description='PHP Predefined Constants'/>
- &php-proto-gen;
- </parameters>
- </prototype>
- <prototype name="xhtml-trans" group="inet" description="xhtml transitional" targetNamespace="http://www.w3.org/1999/xhtml">
- <location link="jar:common.jar!inet/gen/xhtml-trans.hrc"/>
- <filename>/\.html?/ix</filename>
- <filename>/\.xhtml?/ix</filename>
- <firstline weight='0.5'>/^<\?xml/</firstline>
- <firstline weight='2'>/DTD XHTML.*?Transitional/i</firstline>
- </prototype>
- <prototype name="xhtml-strict" group="inet" description="xhtml strict" targetNamespace="http://www.w3.org/1999/xhtml">
- <location link="jar:common.jar!inet/gen/xhtml-strict.hrc"/>
- <filename>/\.html?/ix</filename>
- <filename>/\.xhtml?/ix</filename>
- <firstline weight='0.5'>/^<\?xml/</firstline>
- <firstline weight='2'>/DTD XHTML.*?Strict/i</firstline>
- </prototype>
- <prototype name="xhtml-frameset" group="inet" description="xhtml frameset" targetNamespace="http://www.w3.org/1999/xhtml">
- <location link="jar:common.jar!inet/gen/xhtml-frameset.hrc"/>
- <filename>/\.html?/ix</filename>
- <filename>/\.xhtml?/ix</filename>
- <firstline weight='0.5'>/^<\?xml/</firstline>
- <firstline weight='2'>/DTD XHTML.*?Frameset/i</firstline>
- </prototype>
- <package name="asp" description="Active Server Pages">
- <location link="jar:common.jar!inet/asp.hrc"/>
- </package>
- <prototype name="asp.vb" group="inet" description="asp - VBScript">
- <location link="jar:common.jar!inet/asp.vb.hrc"/>
- <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
- <firstline weight='2'>/language\s*=.*vbscript/i</firstline>
- <firstline>/<\%/i</firstline>
- </prototype>
- <prototype name="asp.js" group="inet" description="asp - JavaScript">
- <location link="jar:common.jar!inet/asp.js.hrc"/>
- <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
- <firstline weight='2'>/language\s*=.*j(ava)?script/i</firstline>
- </prototype>
- <prototype name="asp.ps" group="inet" description="asp - PerlScript">
- <location link="jar:common.jar!inet/asp.ps.hrc"/>
- <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
- <firstline weight='2'>/language\s*=.*perlscript/i</firstline>
- </prototype>
- <prototype name="adp" group="inet" description="AOLserver Dynamic Pages">
- <location link="jar:common.jar!inet/adp.hrc"/>
- <filename>/\.(adp)$/i</filename>
- <firstline weight='2'>/language\s*=.*tcltk/i</firstline>
- <firstline>/<\%/i</firstline>
- </prototype>
- <prototype name="svg" group="inet" description="SVG 1.0" targetNamespace="http://www.w3.org/2000/svg">
- <location link="jar:common.jar!inet/gen/svg.hrc"/>
- <filename>/\.svg/ix</filename>
- </prototype>
- <prototype name="coldfusion" group="inet" description="ColdFusion">
- <location link="jar:common.jar!inet/coldfusion.hrc"/>
- <filename>/\.(cfm|cfc)$/i</filename>
- </prototype>
- <prototype name="jScript" group="inet" description="JavaScript">
- <location link="jar:common.jar!inet/jscript.hrc"/>
- <filename>/\.(js|mocha)$/i</filename>
- </prototype>
- <prototype name="actionscript" group="inet" description="ActionScript">
- <location link="jar:common.jar!inet/actionscript.hrc"/>
- <filename>/\.(as)$/i</filename>
- </prototype>
- <prototype name="vbScript" group="inet" description="VBScript">
- <location link="jar:common.jar!inet/vbscript.hrc"/>
- <filename>/\.(vbs)$/i</filename>
- </prototype>
- <prototype name="rss" group="inet" description="rss" targetNamespace="http://purl.org/rss/1.0/">
- <location link="jar:common.jar!inet/gen/rss.hrc"/>
- <filename>/\.(rss)$/i</filename>
- <filename weight='1.5'>/^rss/i</filename>
- <firstline>/xmlns="http:\/\/purl\.org\/rss\/1\.0\/"/</firstline>
- <firstline>/<rss version="0\.91">/</firstline>
- </prototype>
- <prototype name="htc" group="inet" description="HTC">
- <location link="jar:common.jar!inet/gen/htc.hrc"/>
- <filename weight='3'>/\.(htc)$/i</filename>
- </prototype>
- <prototype name="xbl" group="inet" description="Mozilla XBL" targetNamespace="http://www.mozilla.org/xbl">
- <location link="jar:common.jar!inet/gen/xbl.hrc"/>
- <filename weight='0.5'>/\.(xml)/i</filename>
- <firstline weight="5">/\bxmlns\s*=\s*(["'])http:\/\/www\.mozilla\.org\/xbl\1/</firstline>
- </prototype>
- <prototype name="wml" group="inet" description="wml" targetNamespace="http://www.wapforum.org/2001/wml">
- <location link="jar:common.jar!inet/gen/wml.hrc"/>
- <filename>/\.wml$/i</filename>
- </prototype>
- <!-- xml types -->
- <prototype name="xml" group="xml" description="xml">
- <location link="jar:common.jar!xml/xml.hrc"/>
- <filename>/\.(xml|gi2|gpr|ui)$/i</filename>
- <filename>/\.(wxs|fb2)$/i</filename>
- <firstline>/^<\?xml | <\!DOCTYPE | xmlns /x</firstline>
- <firstline>/^\s*<\w+>\s*/</firstline><!-- (\s+\w+\s*=\*(["']).+?\2)*\s* -->
- <parameters>
- <!-- firstline -->
- <param name='firstlines' value='10' description="lines for 'firstline'"/>
- <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
- </parameters>
- </prototype>
- <package name="xmlns" description="xml namespace" targetNamespace="http://www.w3.org/XML/1998/namespace">
- <location link="jar:common.jar!xml/gen/xmlns.hrc"/>
- </package>
- <package name="xlink" description="xlink" targetNamespace="http://www.w3.org/1999/xlink">
- <location link="jar:common.jar!xml/gen/xlink.hrc"/>
- </package>
- <package name="xinclude" description="xinclude" targetNamespace="http://www.w3.org/1999/xinclude">
- <location link="jar:common.jar!xml/gen/xinclude.hrc"/>
- </package>
- <package name="xpath" description="xpath 1.0">
- <location link="jar:common.jar!xml/xpath.hrc"/>
- </package>
- <package name="xpath2" description="xpath 2.0">
- <location link="jar:common.jar!xml/xpath2.hrc"/>
- </package>
- <prototype name="dtd" group="xml" description="dtd">
- <location link="jar:common.jar!xml/dtd.hrc"/>
- <filename>/\.(dtd|ent|mod)$/i</filename>
- </prototype>
- <prototype name="dtdcatalog" group="xml" description="dtd/sgml catalog">
- <location link="jar:common.jar!xml/dtdcatalog.hrc"/>
- <filename>/\.(cat|soc)$/i</filename>
- </prototype>
- <prototype name="xslt" group="xml" description="xslt 1.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
- <location link="jar:common.jar!xml/gen/xslt.hrc"/>
- <filename>/\.(xslt?)$/i</filename>
- <firstline>/ xsl:stylesheet /x</firstline>
- <firstline>/ XSL\/Transform /x</firstline>
- <parameters>
- <!-- firstline -->
- <param name='firstlines' value='10' description="lines for 'firstline'"/>
- <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
- </parameters>
- </prototype>
- <!-- targetNamespace duplicate. It's not good... -->
- <prototype name="xslt2" group="xml" description="xslt 2.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
- <location link="jar:common.jar!xml/gen/xslt2.hrc"/>
- <filename>/\.(xslt?2?)$/i</filename>
- <firstline weight="3">/\b(stylesheet|transform)\s+ .* \bversion\s*=\s*(["'])2\.0\2 /sx</firstline>
- </prototype>
- <prototype name="xquery" group="xml" description="xquery 1.0">
- <location link="jar:common.jar!xml/xquery.hrc"/>
- <filename>/\.(xq)$/i</filename>
- <firstline weight="2">/^\s*xquery\s+version\b/x</firstline>
- </prototype>
- <prototype name="xslfo" group="xml" description="xslfo 1.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
- <location link="jar:common.jar!xml/gen/xslfo.hrc"/>
- <filename>/\.(xslfo?|fo)$/i</filename>
- </prototype>
- <prototype name="xmlschema" group="xml" description="XML Schema" targetNamespace="http://www.w3.org/2001/XMLSchema">
- <location link="jar:common.jar!xml/gen/xmlschema.hrc"/>
- <filename>/\.(xsd?)$/i</filename>
- </prototype>
- <package name="xsi" description="XML Schema instance" targetNamespace="http://www.w3.org/2001/XMLSchema-instance">
- <location link="jar:common.jar!xml/gen/xmlschema-instance.hrc"/>
- </package>
- <prototype name="relaxng" group="xml" description="Relax NG" targetNamespace="http://relaxng.org/ns/structure/1.0">
- <location link="jar:common.jar!xml/gen/relaxng.hrc"/>
- <filename>/\.rng/ix</filename>
- </prototype>
- <prototype name="schematron" group="xml" description="schematron" targetNamespace="http://www.ascc.net/xml/schematron">
- <location link="jar:common.jar!xml/gen/schematron.hrc"/>
- <filename>/\.sch$/ix</filename>
- </prototype>
- <package name="wsdl-soap" description="wsdl soap binding" targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/">
- <location link="jar:common.jar!xml/gen/wsdl-soap.hrc"/>
- </package>
- <prototype name="wsdl" group="xml" description="wsdl 1.1" targetNamespace="http://schemas.xmlsoap.org/wsdl/">
- <location link="jar:common.jar!xml/gen/wsdl.hrc"/>
- <filename>/\.wsdl$/ix</filename>
- </prototype>
- <package name="rdfs" description="RDF schema" targetNamespace="http://www.w3.org/2000/01/rdf-schema#">
- <location link="jar:common.jar!xml/gen/rdfs.hrc"/>
- </package>
- <prototype name="rdf" group="xml" description="RDF" targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
- <location link="jar:common.jar!xml/gen/rdf.hrc"/>
- <filename>/\.rdf$/ix</filename>
- </prototype>
- <prototype name="xmlcatalog" group="xml" description="XML Catalog" targetNamespace="urn:oasis:names:tc:entity:xmlns:xml:catalog">
- <location link="jar:common.jar!xml/gen/xmlcatalog.hrc"/>
- <filename>/\.xml$/ix</filename>
- <firstline weight='5'>/-\/{2}OASIS\/{2}DTD Entity Resolution XML Catalog V1\.0\/{2}EN/</firstline>
- </prototype>
- <prototype name="docbook" group="xml" description="DocBook 4.2">
- <location link="jar:common.jar!xml/gen/docbook.hrc"/>
- <filename>/\.(dbk?|docbook)$/i</filename>
- <firstline weight='3'>/DOCTYPE article/</firstline>
- <firstline weight='3'>/DocBook XML/</firstline>
- <firstline weight='3'>/<(article|book)/s</firstline>
- </prototype>
- <prototype name="mathml" group="xml" description="MathML2">
- <location link="jar:common.jar!xml/gen/mathml.hrc"/>
- <filename>/\.(math?|mml)$/i</filename>
- <firstline weight='3'>/MathML/</firstline>
- </prototype>
- <!-- database languages -->
- <prototype name="clarion" group="database" description="Clarion">
- <location link="jar:common.jar!db/clarion.hrc"/>
- <filename>/\.(cla|clw)$/i</filename>
- </prototype>
- <!-- warning!! extensions conflict with Clipper -->
- <prototype name="Clipper" group="database" description="Clipper">
- <location link="jar:common.jar!db/clipper.hrc"/>
- <filename>/\.(ch|prg)$/i</filename>
- <firstline>/\#include/</firstline>
- <firstline>/\#define|\#if/</firstline>
- </prototype>
- <prototype name="foxpro" group="database" description="FoxPro">
- <location link="jar:common.jar!db/foxpro.hrc"/>
- <filename>/\.(prg|spr|mpr)$/i</filename>
- </prototype>
- <prototype name="sqlj" group="database" description="SQLJ (Java sql)">
- <location link="jar:common.jar!db/sqlj.hrc"/>
- <filename>/\.sqlj$/i</filename>
- </prototype>
- <prototype name="paradox" group="database" description="Paradox">
- <location link="jar:common.jar!db/paradox.hrc"/>
- <filename>/\.sc$/i</filename>
- </prototype>
- <prototype name="sql" group="database" description="SQL, PL/SQL">
- <location link="jar:common.jar!db/sql.hrc"/>
- <filename>/\.sql$/i</filename>
- <parameters>
- <param name="backslash_escapes" value="true" description="Treat \' in character literals as an escaped '"/>
- </parameters>
- </prototype>
- <prototype name="mysql" group="database" description="MySQL">
- <location link="jar:common.jar!db/mysql.hrc"/>
- <filename>/\.sql$/i</filename>
- </prototype>
- <!-- scripts -->
- &scripts-ini-protos;
- <prototype name="Batch" group="scripts" description="Batch/Config.sys/NTcmd">
- <location link="jar:common.jar!scripts/batch.hrc"/>
- <filename>/\.(Cmd|Bat|nt|btm|sys)$/i</filename>
- </prototype>
- <prototype name="apache" group="scripts" description="Apache httpd.conf">
- <location link="jar:common.jar!scripts/apache.hrc"/>
- <filename>/(httpd\.conf|srm\.conf|access\.conf|\.htaccess|apache\.conf)$/i</filename>
- </prototype>
- <prototype name="shell" group="scripts" description="sh/ksh/bash script">
- <location link="jar:common.jar!scripts/sh.hrc"/>
- <filename>/\.(sh|spec)$|^\./i</filename>
- <filename>/^PKGBUILD$/i</filename>
- <firstline weight='2'>/^\#(!\s*.+sh\b)/</firstline>
- </prototype>
- <prototype name="avisynth" group="scripts" description="AviSynth">
- <location link="jar:common.jar!scripts/avisynth.hrc"/>
- <filename>/\.(avs|avsi)$/i</filename>
- </prototype>
- <prototype name="config" group="scripts" description="Config, INI and CTL">
- <location link="jar:common.jar!scripts/config.hrc"/>
- <filename>/\.(ctl|tpl|ini|cfg|inf|srg|conf|types|tab|dof|dsk|lng)$/i</filename>
- <firstline>/^[;\[\#]/</firstline>
- </prototype>
- <prototype name="awk" group="scripts" description="AWK">
- <location link="jar:common.jar!scripts/awk.hrc"/>
- <filename weight='5'>/\.awk$/i</filename>
- <firstline>/^# gawk/i</firstline>
- </prototype>
- &scripts-colorer-protos;
- &scripts-far-protos;
- <prototype name="makefile" group="scripts" description="makefile">
- <location link="jar:common.jar!scripts/makefile.hrc"/>
- <filename>/(makefile | tools\.ini) | \.(mak|gmk|ds(p|w)|bp(k|r|g)$)/ix</filename>
- <filename weight='3'>/(android|application)\.mk/i</filename>
- <!--firstline>/Microsoft Developer Studio Project File/i</firstline>
- <firstline>/^\!if/i</firstline-->
- <firstline>/makefile/s</firstline>
- <parameters>
- <param name="gnu" value="false" description="use GNU make only"/>
- </parameters>
- </prototype>
- <prototype name="qmake" group="scripts" description="Qt qmake">
- <location link="jar:common.jar!scripts/qmake.hrc"/>
- <filename>/\.pr[oif]$/i</filename>
- </prototype>
- <prototype name="mkb" group="scripts" description="Project build file for Airplay SDK">
- <filename>/\.(mkb|mkf)$/i</filename>
- <location link="jar:common.jar!scripts/mkb.hrc"/>
- </prototype>
- <prototype name="ant" group="scripts" description="Ant's build.xml" targetNamespace="http://jakarta.apache.org/ant/">
- <location link="jar:common.jar!scripts/gen/ant.hrc"/>
- <filename weight='4'>/\bbuild\.xml$/ix</filename>
- <firstline weight='5'>/<project\b/</firstline>
- </prototype>
- <prototype name="acapella" group="scripts" description="Acapella">
- <location link="jar:common.jar!scripts/acapella/acapella.hrc"/>
- <filename>/\.(script|proc|param|parameter)$/i</filename>
- <parameters>
- <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
- <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
- </parameters>
- </prototype>
- <prototype name="qrc" group="scripts" description="qrc">
- <location link="jar:common.jar!scripts/gen/qrc.hrc"/>
- <filename>/\.qrc$/ix</filename>
- </prototype>
- <prototype name="m4" group="scripts" description="M4">
- <location link="jar:common.jar!scripts/m4.hrc"/>
- <filename>/\.m4$/i</filename>
- </prototype>
- <prototype name="linkdef" group="scripts" description="Link Defines">
- <location link="jar:common.jar!scripts/linkdef.hrc"/>
- <filename weight='3'>/\.def$/i</filename>
- </prototype>
- <prototype name="resources" group="scripts" description="Resources">
- <location link="jar:common.jar!scripts/resrc.hrc"/>
- <filename>/\.(rc|dlg)$/i</filename>
- </prototype>
- <prototype name="javacc" group="scripts" description="Java Compiler Compiler">
- <location link="jar:common.jar!scripts/javacc.hrc"/>
- <filename>/\.(jjt?)$/i</filename>
- </prototype>
- <prototype name="javaProperties" group="scripts" description="Java properties">
- <location link="jar:common.jar!scripts/javaprop.hrc"/>
- <filename>/\.pro(p(erties)?)?$/i</filename>
- </prototype>
- <prototype name="javapolicy" group="scripts" description="Java policy">
- <location link="jar:common.jar!scripts/javapolicy.hrc"/>
- <filename>/\.policy$/i</filename>
- </prototype>
- <prototype name="asn1" group="scripts" description="ASN.1/ECN">
- <location link="jar:common.jar!scripts/asn1.hrc"/>
- <filename>/\.(asn|asn1|ecn|edm|elm|mib)$/i</filename>
- <filename>/-mib$/i</filename>
- </prototype>
- <prototype name="lex" group="scripts" description="Lex">
- <location link="jar:common.jar!scripts/lex.hrc"/>
- <filename>/\.(l|f?lex)+$/i</filename>
- </prototype>
- <prototype name="yacc" group="scripts" description="YACC">
- <location link="jar:common.jar!scripts/yacc.hrc"/>
- <filename>/\.y+$/i</filename>
- </prototype>
- <prototype name="delphiform" group="scripts" description="Delphi form">
- <location link="jar:common.jar!scripts/dfm.hrc"/>
- <filename>/\.dfm$/i</filename>
- </prototype>
- <prototype name="pnuts" group="scripts" description="Java: Pnuts">
- <location link="jar:common.jar!scripts/pnuts.hrc"/>
- <filename>/\.(pnut)$/i</filename>
- <parameters>
- <param name="pnuts-modules" value="true" description="Use some common Pnuts module function names"/>
- <param name="j2se-classes" value="true" description="Use some common used J2SE class names"/>
- <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
- <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
- </parameters>
- </prototype>
- <prototype name="scons" group="scripts" description="SCons">
- <location link="jar:common.jar!scripts/scons.hrc"/>
- <filename>/(SConstruct|SConscript)$/i</filename>
- </prototype>
- <prototype name="rtf" group="scripts" description="RTF text">
- <location link="jar:common.jar!scripts/rtf.hrc"/>
- <filename>/\.rtf$/i</filename>
- </prototype>
- <prototype name="TeX" group="scripts" description="TeX">
- <location link="jar:common.jar!scripts/tex.hrc"/>
- <filename>/\.(tex|cls|sty|ltx|ltr|dtx)$/i</filename>
- </prototype>
- <prototype name="graphviz" group="scripts" description="GraphViz dot">
- <location link="jar:common.jar!scripts/graphviz.hrc"/>
- <filename>/\.dot+$/i</filename>
- </prototype>
- <prototype name="dcl" group="scripts" description="OpenVMS DCL">
- <location link="jar:common.jar!scripts/dcl.hrc"/>
- <filename>/\.com$/i</filename>
- </prototype>
- <prototype name="vrml" group="scripts" description="VRML">
- <location link="jar:common.jar!scripts/vrml.hrc"/>
- <filename>/\.wrl$/i</filename>
- </prototype>
- <prototype name="wsc" group="scripts" description="wsc" targetNamespace="uri:wsc">
- <!-- NOTE! 'targetNamespace' is fictive, used only for xsd2hrc -->
- <location link="jar:common.jar!scripts/gen/wsc.hrc"/>
- <filename>/\.wsc$/i</filename>
- </prototype>
- <prototype name="wsf" group="scripts" description="wsf">
- <location link="jar:common.jar!scripts/gen/wsf.hrc"/>
- <filename>/\.wsf$/i</filename>
- </prototype>
- <prototype name="rarscript" group="scripts.install" description="RAR Install Script">
- <location link="jar:common.jar!scripts/rarscrpt.hrc"/>
- <filename>/\.s$/i</filename>
- </prototype>
- <prototype name="nsi" group="scripts.install" description="Nullsoft Install Script">
- <location link="jar:common.jar!scripts/nsi.hrc"/>
- <filename>/\.ns(i|h)$/i</filename>
- </prototype>
- <prototype name="iss" group="scripts.install" description="InnoSetup script">
- <location link="jar:common.jar!scripts/iss.hrc"/>
- <filename>/\.iss$/i</filename>
- </prototype>
- <prototype name="isScripts" group="scripts.install" description="IS script">
- <location link="jar:common.jar!scripts/rul.hrc"/>
- <filename>/\.rul$/i</filename>
- </prototype>
- <!-- rare languages -->
- &rare-j2ee-protos;
- &rare-gen-protos;
- &rare-scripts-protos;
- &rare-qrm-protos;
- &rare-ie-weidu-protos;
- <prototype name="c1c" group="rare" description="1C">
- <location link="jar:common.jar!rare/1c.hrc"/>
- <filename>/\.1c$/i</filename>
- </prototype>
- <prototype name="ada" group="rare" description="Ada">
- <location link="jar:common.jar!rare/ada.hrc"/>
- <filename>/\.(ads|adb|adc)$/i</filename>
- </prototype>
- <prototype name="abap4" group="rare" description="ABAP/4">
- <location link="jar:common.jar!rare/abap4.hrc"/>
- <filename>/\.(abap4|abap)$/i</filename>
- </prototype>
- <prototype name="AutoIt" group="rare" description="AutoIt 2.x">
- <location link="jar:common.jar!rare/autoit.hrc"/>
- <filename>/\.aut$/i</filename>
- </prototype>
- <!-- !! you may wish to swap next two types
- because of collision with extensions -->
- <prototype name="dssp" group="rare" description="Dssp">
- <location link="jar:common.jar!rare/dssp.hrc"/>
- <filename>/\.dsp$/i</filename>
- <firstline>/PROGRAM/si</firstline>
- </prototype>
- <prototype name="adsp" group="rare" description="ADSP-21xx Asm">
- <location link="jar:common.jar!rare/adsp.hrc"/>
- <filename>/\.(dsp|sys)$/i</filename>
- </prototype>
- <prototype name="Baan" group="rare" description="Baan">
- <location link="jar:common.jar!rare/baan.hrc"/>
- <filename>/\.cln$/i</filename>
- </prototype>
- <prototype name="cobol" group="rare" description="Cobol Fixed format">
- <location link="jar:common.jar!rare/cobol.hrc"/>
- <filename>/\.(cob|cbl)$/i</filename>
- </prototype>
- <prototype name="cobolfr" group="rare" description="Cobol Free format">
- <location link="jar:common.jar!rare/cobolfr.hrc"/>
- <firstline>/SOURCEFORMAT\"FREE\"/i</firstline>
- <filename>/\.(cob|cbl)$/i</filename>
- </prototype>
- <prototype name="cache" group="rare" description="Cache/Open-M">
- <location link="jar:common.jar!rare/cache.hrc"/>
- <filename>/\.(rsa|ro|rtn|inc|int|mac|cdl)$/i</filename>
- <firstline>/^(Cache|OpenM)[^\^]+\^(IN[TC]|MAC)[^\^]*\^.*$/i</firstline>
- </prototype>
- <prototype name="cup" group="rare" description="CUP">
- <location link="jar:common.jar!rare/cup.hrc"/>
- <filename>/\.(cup)$/i</filename>
- </prototype>
- <prototype name="eiffel" group="rare" description="Eiffel">
- <location link="jar:common.jar!rare/eiffel.hrc"/>
- <filename>/\.e$/i</filename>
- </prototype>
- <prototype name="erlang" group="rare" description="Erlang">
- <location link="jar:common.jar!rare/erlang.hrc"/>
- <filename>/\.[eh]rl$/i</filename>
- </prototype>
- <prototype name="icon" group="rare" description="Icon">
- <location link="jar:common.jar!rare/icon.hrc"/>
- <filename>/\.icn$/i</filename>
- </prototype>
- <prototype name="lisp" group="rare" description="Lisp">
- <location link="jar:common.jar!rare/lisp.hrc"/>
- <filename>/\.(lsp|lisp|scm|elc|el)$/i</filename>
- </prototype>
- <prototype name="mako" group="rare" description="Mako templates">
- <location link="jar:common.jar!rare/mako.hrc"/>
- <!-- extension conflicts with Makefile, hence weight is less than 2 -->
- <filename weight="1.5">/\.(mako|mak)$/i</filename>
- <firstline>/\<%/</firstline>
- </prototype>
- <prototype name="matlab" group="rare" description="MatLab">
- <location link="jar:common.jar!rare/matlab.hrc"/>
- <filename>/\.m$/i</filename>
- </prototype>
- <!-- warning!! extensions conflict with link defines -->
- <prototype name="modula2" group="rare" description="Modula2 and Oberon2">
- <location link="jar:common.jar!rare/modula.hrc"/>
- <filename>/\.(mod|ob2|odf|def)$/i</filename>
- <firstline>/\(\*|MODULE|DEFINITION|IMPLEMENTATION|<\*/</firstline>
- </prototype>
- <prototype name="nesc" group="rare" description="nesC">
- <location link="jar:common.jar!rare/nesc.hrc"/>
- <filename>/\.nc$/i</filename>
- </prototype>
- <prototype name="picasm" group="rare" description="PicAsm">
- <location link="jar:common.jar!rare/picasm.hrc"/>
- <filename>/\.(asm|pic)$/i</filename>
- </prototype>
- <prototype name="pl1" group="rare" description="PL1">
- <location link="jar:common.jar!rare/pl1.hrc"/>
- <filename>/\.(pl1|pli)$/i</filename>
- </prototype>
- <prototype name="rexx" group="rare" description="Rexx">
- <location link="jar:common.jar!rare/rexx.hrc"/>
- <filename>/\.(rex|cmd)$/i</filename>
- <firstline>/(REM)\/\*/i</firstline>
- <firstline>/^# regina/i</firstline>
- <firstline weight='2'>/^\/\*\s*REXX\s*\*\//i</firstline>
- </prototype>
- <prototype name="jcl" group="rare" description="JCL">
- <location link="jar:common.jar!rare/jcl.hrc"/>
- <filename>/\.(jcl)$/i</filename>
- <firstline weight='2'>/^\/\//i</firstline>
- </prototype>
- <prototype name="sml" group="rare" description="Standard ML">
- <location link="jar:common.jar!rare/sml.hrc"/>
- <filename>/\.(sml|sig)$/i</filename>
- </prototype>
- <prototype name="ocaml" group="rare" description="OCaml">
- <location link="jar:common.jar!rare/ocaml.hrc"/>
- <filename>/\.ml[ilpy]?$/i</filename>
- </prototype>
- <prototype name="sicstusProlog" group="rare" description="Sicstus Prolog">
- <location link="jar:common.jar!rare/sprolog.hrc"/>
- <filename>/\.pl$/i</filename>
- </prototype>
- <prototype name="stata" group="rare" description="STATA">
- <location link="jar:common.jar!rare/stata.hrc"/>
- <filename>/\.a?do$/i</filename>
- </prototype>
- <prototype name="turboProlog" group="rare" description="Turbo Prolog">
- <location link="jar:common.jar!rare/tprolog.hrc"/>
- <filename>/\.tpl$/i</filename>
- </prototype>
- <prototype name="verilog" group="rare" description="Verilog HDL">
- <location link="jar:common.jar!rare/verilog.hrc"/>
- <filename weight='3'>/\.g?v$/i</filename>
- </prototype>
- <prototype name="vhdl" group="rare" description="VHDL">
- <location link="jar:common.jar!rare/vhdl.hrc"/>
- <filename>/\.vhdl?$/i</filename>
- </prototype>
- <prototype name="ahdl" group="rare" description="AHDL">
- <location link="jar:common.jar!rare/ahdl.hrc"/>
- <filename>/\.(tdf|tdo|ahdl)$/i</filename>
- </prototype>
- <prototype name="z80" group="rare" description="z80asm">
- <location link="jar:common.jar!rare/z80.hrc"/>
- <filename>/\.za$/i</filename>
- </prototype>
- <prototype name="asm80" group="rare" description="asm80">
- <location link="jar:common.jar!rare/asm80.hrc"/>
- <filename>/\.a80$/i</filename>
- </prototype>
- <prototype name="a51" group="rare" description="8051 asm">
- <location link="jar:common.jar!rare/a51-5.hrc"/>
- <filename>/\.a5(1|2)$/i</filename>
- </prototype>
- <prototype name="avr" group="rare" description="AVR asm">
- <location link="jar:common.jar!rare/avr-5.hrc"/>
- <filename>/\.(asm|inc|avr)$/i</filename>
- <firstline>/^\s*;/</firstline>
- </prototype>
- <prototype name="mason" group="rare" description="mason">
- <location link="jar:common.jar!rare/mason.hrc"/>
- <filename>/\.(mc)$/i</filename>
- </prototype>
- <prototype name="postscript" group="rare" description="PostScript">
- <location link="jar:common.jar!rare/postscript.hrc"/>
- <filename>/\.((e)?ps|pfa|gsf)$/i</filename>
- <firstline weight="3">/^\%\!PS/</firstline>
- <firstline>/^\%\!/</firstline>
- </prototype>
- <!-- flex extension conflicts -->
- <prototype name="flex" group="rare" description="FlexScript">
- <location link="jar:common.jar!rare/flex.hrc"/>
- <filename>/\.(src|inc|inf)$/i</filename>
- <firstline>/\*{10}/</firstline>
- </prototype>
- <!-- other types -->
- &scripts-msg-protos;
- <prototype name="ass" group="other" description="(Advanced) SubStation Alpha script">
- <location link="jar:common.jar!misc/assa.hrc"/>
- <filename>/\.(ssa|ass)$/</filename>
- <firstline weight='2'>/^(...)?\[Script Info\]/</firstline>
- </prototype>
- <prototype name="cue" group="other" description="Cue sheet">
- <location link="jar:common.jar!misc/cue.hrc"/>
- <filename>/\.cue$/</filename>
- </prototype>
- <prototype name="filesbbs" group="other" description="files.bbs">
- <location link="jar:common.jar!misc/filesbbs.hrc"/>
- <filename>/(files\.bbs|descript\.ion|file_id.diz)/i</filename>
- </prototype>
- <prototype name="diff" group="other" description="Diff/Patch">
- <location link="jar:common.jar!misc/diff.hrc"/>
- <filename>/\.(diff.*|patch|rej(ect)?)$/i</filename>
- <firstline weight='2'>/^(diff|Index|---|\+\+\+|\*\*\*)/si</firstline>
- <firstline>/^(\d+,\d+\w\d+ | \d+\w\d+)/i</firstline>
- <firstline>/^cvs/i</firstline>
- <parameters>
- <param name="trailing-space" value="false" description="Mark trailing spaces as errors"/>
- <param name="space-before-tab" value="false" description="Mark leading spaces before tabs as errors"/>
- <param name="indent-with-non-tab" value="false" description="Mark 8 or more leading spaces as errors"/>
- <param name="indent-with-tab" value="false" description="Mark leading tabs as errors"/>
- </parameters>
- </prototype>
- <prototype name="text" group="other" description="plain text">
- <location link="jar:common.jar!misc/text.hrc"/>
- <filename>/(read\.?me|\.txt$|\.rus|\.nfo|\.log|install*|*ChangeLog*|AUTHORS|COPYING|FAQ|LICENSE|TODO$)/i</filename>
- <filename>/\.spo/ix</filename>
- </prototype>
- <prototype name="default" group="other" description="default type">
- <filename weight='1'>//</filename>
- <parameters>
- <!-- firstline -->
- <param name='firstlines' value='4' description="lines for 'firstline'"/>
- <param name='firstlinebytes' value='500' description="bytes for 'firstline'"/>
- </parameters>
- </prototype>
- <type name="default"><scheme name='default'/></type>
- <!-- packages -->
- <package name="def" description="core definitions">
- <location link="jar:common.jar!lib/default.hrc"/>
- </package>
- <package name="uri" description="URI (RFC 2396)">
- <location link="jar:common.jar!lib/uri.hrc"/>
- </package>
- <package name="ole" description="OLE Commons">
- <location link="jar:common.jar!lib/ole.hrc"/>
- </package>
- <package name="regexp" description="Regexp common library">
- <location link="jar:common.jar!lib/regexp.hrc"/>
- </package>
- <package name="far" description="FAR Manager common expressions">
- <location link="jar:common.jar!lib/far.hrc"/>
- </package>
- <package name="msg" description="message package">
- <location link="jar:common.jar!lib/message.hrc"/>
- </package>
- <package name="doxygen" description="Doxygen">
- <location link="jar:common.jar!lib/doxygen.hrc"/>
- </package>
- </hrc>
- <!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is the Colorer Library.
- -
- - The Initial Developer of the Original Code is
- - Igor Russkih <irusskih at gmail dot com>
- - Portions created by the Initial Developer are Copyright (C) 1999-2007
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - Eugene Efremov <4mirror@mail.ru>
- -
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the LGPL or the GPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement