Guest User

eclipse\plugins\net.sf.colorer_0.9.9\colorer\hrc\proto.hrc

a guest
Dec 18th, 2018
238
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding='Windows-1251'?>
  2. <!DOCTYPE hrc PUBLIC
  3.     "-//Cail Lomecb//DTD Colorer HRC take5//EN"
  4.     "http://colorer.sf.net/2003/hrc.dtd"
  5. [
  6.     <!-- include -->
  7.     <!ENTITY scripts-colorer-protos  SYSTEM "scripts.colorer.ent.hrc">
  8.     <!ENTITY scripts-far-protos  SYSTEM "scripts.far.ent.hrc">
  9.     <!ENTITY scripts-ini-protos  SYSTEM "scripts.ini.ent.hrc">
  10.     <!ENTITY scripts-msg-protos  SYSTEM "scripts.msg.ent.hrc">
  11.    
  12.     <!ENTITY rare-ie-weidu-protos  SYSTEM "rare.ie-weidu.ent.hrc">
  13.     <!ENTITY rare-j2ee-protos  SYSTEM "rare.j2ee.ent.hrc">
  14.     <!ENTITY rare-qrm-protos  SYSTEM "rare.qrm.ent.hrc">
  15.     <!ENTITY rare-scripts-protos  SYSTEM "rare.scripts.ent.hrc">
  16.     <!ENTITY rare-gen-protos  SYSTEM "rare.gen.ent.hrc">
  17.    
  18.     <!-- auto -->
  19.     <!ENTITY php-proto-gen  SYSTEM "php-prot.ent.hrc">
  20. ]>
  21.  
  22. <hrc version="take5" xmlns="http://colorer.sf.net/2003/hrc"
  23.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24.     xsi:schemaLocation="http://colorer.sf.net/2003/hrc http://colorer.sf.net/2003/hrc.xsd">
  25.  
  26.   <annotation>
  27.    <documentation>
  28.    This is a base HRC file with prototype defines and types linking information.
  29.    </documentation>
  30.   </annotation>
  31.  
  32.   <!--  main languages  -->
  33.   <prototype name="c" group="main" description="C">
  34.     <location link="jar:common.jar!base/c.hrc"/>
  35.     <filename>/\.c$/i</filename>
  36.     <parameters>
  37.       <param name="ansi-defines" value="true" description="Use ANSI C standard library keywords"/>
  38.       <param name="win32-specific" value="true" description="Use Windows specific definitions"/>
  39.       <param name="unix-specific" value="true" description="Use Unix/Linux specific definitions"/>
  40.       <param name="doxygen-comments" value="true" description="Use Doxygen syntax in comments"/>
  41.       <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
  42.       <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
  43.       <param name="include-in-outline" value="false" description="Shows #include in the outline list"/>
  44.       <param name="define-in-outline" value="false" description="Shows #define in the outline list"/>
  45.     </parameters>
  46.   </prototype>
  47.   <prototype name="cpp" group="main" description="C++">
  48.     <location link="jar:common.jar!base/cpp.hrc"/>
  49.     <filename>/\.(cpp|cxx|cc|hpp|h)$/i</filename>
  50.     <firstline>/^\s*(\/\* | \/\/)/xi</firstline>
  51.     <firstline>/\#include/</firstline>
  52.     <firstline>/\#define|\#if/</firstline>
  53.     <parameters>
  54.       <param name="qt-defines" value="true" description="Use QT specific keywords"/>
  55.       <param name="stl-defines" value="true" description="Use STL specific keywords"/>
  56.       <param name="afx-defines" value="true" description="Highlight MFC autogenerateg block"/>
  57.       <param name="win32-specific" value="true" description="Use Windows specific definitions"/>
  58.       <param name="unix-specific" value="true" description="Use Unix/Linux specific definitions"/>
  59.       <param name="doxygen-comments" value="true" description="Use Doxygen syntax in comments"/>
  60.       <!-- firstline -->
  61.       <param name='firstlines'     value='10'   description="lines for 'firstline'"/>
  62.       <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
  63.     </parameters>
  64.   </prototype>
  65.   <package name="cpp-qt" description="C++ + Qt">
  66.    <location link="jar:common.jar!base/cpp-qt.hrc"/>
  67.   </package>
  68.   <prototype name="d" group="main" description="D">
  69.     <location link="jar:common.jar!base/d.hrc"/>
  70.     <filename>/\.(d|di)$/i</filename>
  71.     <parameters>
  72.       <param name="format-str" value="true" description="Highlight printf-like %format in strings"/>
  73.       <param name="use_phobos" value="true" description="Use Phobos library keywords"/>
  74.       <param name="use_tango" value="false" description="Use Tango library keywords"/>
  75.       <param name="d2" value="true" description="Use D 2.0 language features"/>
  76.       <!-- firstline -->
  77.       <param name='firstlines'     value='10'   description="lines for 'firstline'"/>
  78.       <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
  79.     </parameters>
  80.   </prototype>
  81.  
  82.   <prototype name="asm" group="main" description="ASM">
  83.     <location link="jar:common.jar!base/asm.hrc"/>
  84.     <filename>/\.(mac|asm|inc|i32|cod)$/i</filename>
  85.     <firstline>/^\s*;/</firstline>
  86.   </prototype>
  87.   <prototype name="perl" group="main" description="Perl">
  88.     <location link="jar:common.jar!base/perl.hrc"/>
  89.     <filename>/\.(pl[sx]?|pm|pod|t)$/i</filename>
  90.     <firstline weight='2'>/^\#!\s*.+perl\b/</firstline>
  91.     <firstline>/perl/i</firstline>
  92.     <parameters>
  93.       <param name="use-packages" value="true" description="Highlight perl packages"/>
  94.       <param name="data-code" value="true" description="Treat __DATA__ sections as code"/>
  95.     </parameters>
  96.   </prototype>
  97.   <prototype name="java" group="main" description="Java">
  98.     <location link="jar:common.jar!base/java.hrc"/>
  99.     <filename>/\.(java|jav|jad)$/i</filename>
  100.     <firstline weight='2'>/^\/\/ Decompiled by Jad/</firstline>
  101.     <parameters>
  102.       <param name="j2se-classes" value="true" description="Use some common used J2SE class names"/>
  103.       <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
  104.       <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
  105.     </parameters>
  106.   </prototype>
  107.   <prototype name="idl" group="main" description="IDL">
  108.     <location link="jar:common.jar!base/idl.hrc"/>
  109.     <filename>/\.(hvs|(i|o)dl)$/i</filename>
  110.     <firstline>/^\s*(\/\* | \/\/)/xi</firstline>
  111.     <firstline>/\#include/</firstline>
  112.   </prototype>
  113.   <prototype name="pascal" group="main" description="Pascal">
  114.     <location link="jar:common.jar!base/pascal.hrc"/>
  115.     <filename>/\.(\~?pas|dpr|dpk|inc|int|pp)$/i</filename>
  116.     <firstline>/^(\{|\/\/|resourcestring|program|library|unit|package)/i</firstline>
  117.   </prototype>
  118.   <prototype name="csharp" group="main" description="C#">
  119.     <location link="jar:common.jar!base/csharp.hrc"/>
  120.     <filename>/\.cs$/i</filename>
  121.   </prototype>
  122.   <prototype name="jsnet" group="main" description="JS.NET">
  123.     <location link="jar:common.jar!base/js.net.hrc"/>
  124.     <filename weight="0.5">/\.js$/i</filename>
  125.   </prototype>
  126.   <prototype name="vbnet" group="main" description="VB.NET">
  127.     <location link="jar:common.jar!base/vb.net.hrc"/>
  128.     <filename>/\.vb$/i</filename>
  129.   </prototype>
  130.   <!-- warning!! extensions conflict with Fortran -->
  131.   <prototype name="forth" group="main" description="Forth">
  132.     <location link="jar:common.jar!base/forth.hrc"/>
  133.     <filename>/\.(fth|f32|f|spf)$/i</filename>
  134.   </prototype>
  135.   <prototype name="fortran" group="main" description="Fortran">
  136.     <location link="jar:common.jar!base/fortran.hrc"/>
  137.     <filename>/\.(for|f(90)?)$/i</filename>
  138.   </prototype>
  139.   <prototype name="vbasic" group="main" description="Visual Basic">
  140.     <location link="jar:common.jar!base/vbasic.hrc"/>
  141.     <filename>/\.(bas|vbp|frm|cls)$/i</filename>
  142.     <firstline>/^(VERSION|VBWIZARD) \d+.\d+/</firstline>
  143.   </prototype>
  144.   <prototype name="python" group="main" description="Python">
  145.     <location link="jar:common.jar!base/python.hrc"/>
  146.     <filename>/\.(py|pyw|pys)$/i</filename>
  147.     <firstline weight='2'>/^\#!\S*.+python/</firstline>
  148.   </prototype>
  149.   <prototype name="lua" group="main" description="Lua">
  150.     <location link="jar:common.jar!base/lua.hrc"/>
  151.     <filename>/\.(lua)$/i</filename>
  152.   </prototype>  
  153.   <prototype name="ruby" group="main" description="Ruby">
  154.     <location link="jar:common.jar!base/ruby.hrc"/>
  155.     <filename>/\.(rb|rbw|ruby|rake)$/i</filename>
  156.     <filename>/Rakefile$/i</filename>
  157.     <firstline weight='4'>/-\*- ruby -\*-/i</firstline>
  158.     <firstline>/bin\/ruby/i</firstline>
  159.   </prototype>
  160.   <prototype name="scala" group="main" description="Scala">
  161.     <location link="jar:common.jar!base/scala.hrc"/>
  162.     <filename>/\.(scala)$/i</filename>
  163.   </prototype>
  164.   <prototype name="tcltk" group="main" description="Tcl/Tk/Expect">
  165.     <location link="jar:common.jar!base/tcltk.hrc"/>
  166.     <filename>/\.(tcl|tk|exp)$/i</filename>
  167.     <firstline>/^\#(!\s*.+(tcl|wi)?sh\b)/</firstline>
  168.   </prototype>
  169.  
  170.   <!--  inet languages  -->
  171.   <package name="html-entity" description="(x)html entities">
  172.    <location link="jar:common.jar!inet/gen/html-entity.hrc"/>
  173.   </package>
  174.   <prototype name="html" group="inet" description="html">
  175.     <location link="jar:common.jar!inet/html.hrc"/>
  176.     <filename>/\.[^ptr]??html?$/i</filename>
  177.     <firstline>/^\s*&lt;((!DOCTYPE\s+)?HTML|!\-\-)/i</firstline>
  178.   </prototype>
  179.  
  180.   <prototype name="css" group="inet" description="css">
  181.     <location link="jar:common.jar!inet/css.hrc"/>
  182.     <filename>/\.(css)$/i</filename>
  183.     <parameters>
  184.      <param name="html-css" value="true" description="Default use css for HTML"/>
  185.      <param name="svg-css" value="false" description="Default use css for SVG"/>
  186.     </parameters>
  187.   </prototype>
  188.   <prototype name="html-css" group="inet" description="css for html">
  189.     <location link="jar:common.jar!inet/html-css.hrc"/>
  190.     <filename weight="0">/\.(css)$/i</filename>
  191.     <parameters>
  192.      <param name="ie-css" value="true" description="Use non-standard MSIE css extensions"/>
  193.      <param name="moz-css" value="true" description="Use non-standard Gecho-based css extensions"/>
  194.     </parameters>
  195.   </prototype>
  196.   <prototype name="svg-css" group="inet" description="css for svg">
  197.     <location link="jar:common.jar!inet/svg-css.hrc"/>
  198.     <filename weight="0">/\.(css)$/i</filename>
  199.   </prototype>
  200.   <prototype name="sass" group="inet" description="SASS">
  201.     <location link="jar:common.jar!inet/sass.hrc"/>
  202.     <filename>/\.(sass)$/i</filename>
  203.   </prototype>
  204.  
  205.   <prototype name="haml" group="inet" description="HAML">
  206.     <location link="jar:common.jar!inet/haml.hrc"/>
  207.     <filename>/\.(haml)$/i</filename>
  208.   </prototype>
  209.   <prototype name="erb" group="inet" description="ERB">
  210.     <location link="jar:common.jar!inet/erb.hrc"/>
  211.     <filename weight='4'>/\.(erb|rhtml|html\.erb)$/i</filename>
  212.   </prototype>
  213.  
  214.   <prototype name="jsp" group="inet" description="jsp">
  215.     <location link="jar:common.jar!inet/jsp.hrc"/>
  216.     <filename>/\.(jspf?|tag)$/i</filename>
  217.   </prototype>
  218.  
  219.   <prototype name="php" group="inet" description="php">
  220.     <location link="jar:common.jar!inet/php.hrc"/>
  221.     <filename>/\.(php\d?|phtml|thtml|inc)$/i</filename>
  222.     <firstline>/^&lt;\?(php)/</firstline>
  223.     <firstline weight='2'>/^#!\S*(php)/</firstline>
  224.     <parameters>
  225.       <param name="posix-re" value="false" description='Use eregs highlightning'/>
  226.       <param name="include-base-consts"   value="true" description='PHP Predefined Constants'/>
  227.       &php-proto-gen;
  228.     </parameters>
  229.   </prototype>
  230.  
  231.   <prototype name="xhtml-trans" group="inet" description="xhtml transitional" targetNamespace="http://www.w3.org/1999/xhtml">
  232.     <location link="jar:common.jar!inet/gen/xhtml-trans.hrc"/>
  233.     <filename>/\.html?/ix</filename>
  234.     <filename>/\.xhtml?/ix</filename>
  235.     <firstline weight='0.5'>/^&lt;\?xml/</firstline>
  236.     <firstline weight='2'>/DTD XHTML.*?Transitional/i</firstline>
  237.   </prototype>
  238.   <prototype name="xhtml-strict" group="inet" description="xhtml strict" targetNamespace="http://www.w3.org/1999/xhtml">
  239.     <location link="jar:common.jar!inet/gen/xhtml-strict.hrc"/>
  240.     <filename>/\.html?/ix</filename>
  241.     <filename>/\.xhtml?/ix</filename>
  242.     <firstline weight='0.5'>/^&lt;\?xml/</firstline>
  243.     <firstline weight='2'>/DTD XHTML.*?Strict/i</firstline>
  244.   </prototype>
  245.   <prototype name="xhtml-frameset" group="inet" description="xhtml frameset" targetNamespace="http://www.w3.org/1999/xhtml">
  246.     <location link="jar:common.jar!inet/gen/xhtml-frameset.hrc"/>
  247.     <filename>/\.html?/ix</filename>
  248.     <filename>/\.xhtml?/ix</filename>
  249.     <firstline weight='0.5'>/^&lt;\?xml/</firstline>
  250.     <firstline weight='2'>/DTD XHTML.*?Frameset/i</firstline>
  251.   </prototype>
  252.  
  253.   <package name="asp" description="Active Server Pages">
  254.    <location link="jar:common.jar!inet/asp.hrc"/>
  255.   </package>
  256.   <prototype name="asp.vb" group="inet" description="asp - VBScript">
  257.     <location link="jar:common.jar!inet/asp.vb.hrc"/>
  258.     <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
  259.     <firstline weight='2'>/language\s*=.*vbscript/i</firstline>
  260.     <firstline>/&lt;\%/i</firstline>
  261.   </prototype>
  262.   <prototype name="asp.js" group="inet" description="asp - JavaScript">
  263.     <location link="jar:common.jar!inet/asp.js.hrc"/>
  264.     <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
  265.     <firstline weight='2'>/language\s*=.*j(ava)?script/i</firstline>
  266.   </prototype>
  267.   <prototype name="asp.ps" group="inet" description="asp - PerlScript">
  268.     <location link="jar:common.jar!inet/asp.ps.hrc"/>
  269.     <filename>/\.(as(p|a)|ht(r|x|a)|inc)$/i</filename>
  270.     <firstline weight='2'>/language\s*=.*perlscript/i</firstline>
  271.   </prototype>
  272.   <prototype name="adp" group="inet" description="AOLserver Dynamic Pages">
  273.     <location link="jar:common.jar!inet/adp.hrc"/>
  274.     <filename>/\.(adp)$/i</filename>
  275.     <firstline weight='2'>/language\s*=.*tcltk/i</firstline>
  276.     <firstline>/&lt;\%/i</firstline>
  277.   </prototype>
  278.   <prototype name="svg" group="inet" description="SVG 1.0" targetNamespace="http://www.w3.org/2000/svg">
  279.     <location link="jar:common.jar!inet/gen/svg.hrc"/>
  280.     <filename>/\.svg/ix</filename>
  281.   </prototype>
  282.   <prototype name="coldfusion" group="inet" description="ColdFusion">
  283.     <location link="jar:common.jar!inet/coldfusion.hrc"/>
  284.     <filename>/\.(cfm|cfc)$/i</filename>
  285.   </prototype>
  286.   <prototype name="jScript" group="inet" description="JavaScript">
  287.     <location link="jar:common.jar!inet/jscript.hrc"/>
  288.     <filename>/\.(js|mocha)$/i</filename>
  289.   </prototype>
  290.   <prototype name="actionscript" group="inet" description="ActionScript">
  291.     <location link="jar:common.jar!inet/actionscript.hrc"/>
  292.     <filename>/\.(as)$/i</filename>
  293.   </prototype>
  294.   <prototype name="vbScript" group="inet" description="VBScript">
  295.     <location link="jar:common.jar!inet/vbscript.hrc"/>
  296.     <filename>/\.(vbs)$/i</filename>
  297.   </prototype>
  298.  
  299.   <prototype name="rss" group="inet" description="rss" targetNamespace="http://purl.org/rss/1.0/">
  300.     <location link="jar:common.jar!inet/gen/rss.hrc"/>
  301.     <filename>/\.(rss)$/i</filename>
  302.     <filename weight='1.5'>/^rss/i</filename>
  303.     <firstline>/xmlns="http:\/\/purl\.org\/rss\/1\.0\/"/</firstline>
  304.     <firstline>/&lt;rss version="0\.91"&gt;/</firstline>
  305.   </prototype>
  306.   <prototype name="htc" group="inet" description="HTC">
  307.     <location link="jar:common.jar!inet/gen/htc.hrc"/>
  308.     <filename weight='3'>/\.(htc)$/i</filename>
  309.   </prototype>
  310.   <prototype name="xbl" group="inet" description="Mozilla XBL" targetNamespace="http://www.mozilla.org/xbl">
  311.     <location link="jar:common.jar!inet/gen/xbl.hrc"/>
  312.     <filename weight='0.5'>/\.(xml)/i</filename>
  313.     <firstline weight="5">/\bxmlns\s*=\s*(["'])http:\/\/www\.mozilla\.org\/xbl\1/</firstline>
  314.   </prototype>
  315.   <prototype name="wml" group="inet" description="wml" targetNamespace="http://www.wapforum.org/2001/wml">
  316.     <location link="jar:common.jar!inet/gen/wml.hrc"/>
  317.     <filename>/\.wml$/i</filename>
  318.   </prototype>
  319.  
  320.  
  321.   <!--  xml types  -->
  322.   <prototype name="xml" group="xml" description="xml">
  323.     <location link="jar:common.jar!xml/xml.hrc"/>
  324.     <filename>/\.(xml|gi2|gpr|ui)$/i</filename>
  325.     <filename>/\.(wxs|fb2)$/i</filename>
  326.     <firstline>/^&lt;\?xml | &lt;\!DOCTYPE | xmlns /x</firstline>
  327.     <firstline>/^\s*&lt;\w+&gt;\s*/</firstline><!-- (\s+\w+\s*=\*([&quot;&apos;]).+?\2)*\s* -->
  328.     <parameters>
  329.       <!-- firstline -->
  330.       <param name='firstlines'     value='10'   description="lines for 'firstline'"/>
  331.       <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
  332.     </parameters>
  333.    
  334.   </prototype>
  335.   <package name="xmlns" description="xml namespace" targetNamespace="http://www.w3.org/XML/1998/namespace">
  336.     <location link="jar:common.jar!xml/gen/xmlns.hrc"/>
  337.   </package>
  338.   <package name="xlink" description="xlink" targetNamespace="http://www.w3.org/1999/xlink">
  339.     <location link="jar:common.jar!xml/gen/xlink.hrc"/>
  340.   </package>
  341.   <package name="xinclude" description="xinclude" targetNamespace="http://www.w3.org/1999/xinclude">
  342.     <location link="jar:common.jar!xml/gen/xinclude.hrc"/>
  343.   </package>
  344.   <package name="xpath" description="xpath 1.0">
  345.     <location link="jar:common.jar!xml/xpath.hrc"/>
  346.   </package>
  347.   <package name="xpath2" description="xpath 2.0">
  348.     <location link="jar:common.jar!xml/xpath2.hrc"/>
  349.   </package>
  350.  
  351.  
  352.   <prototype name="dtd" group="xml" description="dtd">
  353.     <location link="jar:common.jar!xml/dtd.hrc"/>
  354.     <filename>/\.(dtd|ent|mod)$/i</filename>
  355.   </prototype>
  356.   <prototype name="dtdcatalog" group="xml" description="dtd/sgml catalog">
  357.     <location link="jar:common.jar!xml/dtdcatalog.hrc"/>
  358.     <filename>/\.(cat|soc)$/i</filename>
  359.   </prototype>
  360.  
  361.   <prototype name="xslt" group="xml" description="xslt 1.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
  362.     <location link="jar:common.jar!xml/gen/xslt.hrc"/>
  363.     <filename>/\.(xslt?)$/i</filename>
  364.     <firstline>/ xsl:stylesheet /x</firstline>
  365.     <firstline>/ XSL\/Transform /x</firstline>
  366.     <parameters>
  367.       <!-- firstline -->
  368.       <param name='firstlines'     value='10'   description="lines for 'firstline'"/>
  369.       <param name='firstlinebytes' value='2000' description="bytes for 'firstline'"/>
  370.     </parameters>
  371.   </prototype>
  372.   <!-- targetNamespace duplicate. It's not good... -->
  373.   <prototype name="xslt2" group="xml" description="xslt 2.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
  374.     <location link="jar:common.jar!xml/gen/xslt2.hrc"/>
  375.     <filename>/\.(xslt?2?)$/i</filename>
  376.     <firstline weight="3">/\b(stylesheet|transform)\s+ .* \bversion\s*=\s*([&quot;&apos;])2\.0\2 /sx</firstline>
  377.   </prototype>
  378.   <prototype name="xquery" group="xml" description="xquery 1.0">
  379.     <location link="jar:common.jar!xml/xquery.hrc"/>
  380.     <filename>/\.(xq)$/i</filename>
  381.     <firstline weight="2">/^\s*xquery\s+version\b/x</firstline>
  382.   </prototype>
  383.   <prototype name="xslfo" group="xml" description="xslfo 1.0" targetNamespace="http://www.w3.org/1999/XSL/Transform">
  384.     <location link="jar:common.jar!xml/gen/xslfo.hrc"/>
  385.     <filename>/\.(xslfo?|fo)$/i</filename>
  386.   </prototype>
  387.  
  388.   <prototype name="xmlschema" group="xml" description="XML Schema" targetNamespace="http://www.w3.org/2001/XMLSchema">
  389.     <location link="jar:common.jar!xml/gen/xmlschema.hrc"/>
  390.     <filename>/\.(xsd?)$/i</filename>
  391.   </prototype>
  392.   <package name="xsi" description="XML Schema instance" targetNamespace="http://www.w3.org/2001/XMLSchema-instance">
  393.     <location link="jar:common.jar!xml/gen/xmlschema-instance.hrc"/>
  394.   </package>
  395.  
  396.   <prototype name="relaxng" group="xml" description="Relax NG" targetNamespace="http://relaxng.org/ns/structure/1.0">
  397.     <location link="jar:common.jar!xml/gen/relaxng.hrc"/>
  398.     <filename>/\.rng/ix</filename>
  399.   </prototype>
  400.   <prototype name="schematron" group="xml" description="schematron" targetNamespace="http://www.ascc.net/xml/schematron">
  401.     <location link="jar:common.jar!xml/gen/schematron.hrc"/>
  402.     <filename>/\.sch$/ix</filename>
  403.   </prototype>
  404.  
  405.  
  406.   <package name="wsdl-soap" description="wsdl soap binding" targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/">
  407.     <location link="jar:common.jar!xml/gen/wsdl-soap.hrc"/>
  408.   </package>
  409.   <prototype name="wsdl" group="xml" description="wsdl 1.1" targetNamespace="http://schemas.xmlsoap.org/wsdl/">
  410.     <location link="jar:common.jar!xml/gen/wsdl.hrc"/>
  411.     <filename>/\.wsdl$/ix</filename>
  412.   </prototype>
  413.  
  414.   <package name="rdfs" description="RDF schema" targetNamespace="http://www.w3.org/2000/01/rdf-schema#">
  415.     <location link="jar:common.jar!xml/gen/rdfs.hrc"/>
  416.   </package>
  417.   <prototype name="rdf" group="xml" description="RDF" targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  418.     <location link="jar:common.jar!xml/gen/rdf.hrc"/>
  419.     <filename>/\.rdf$/ix</filename>
  420.   </prototype>
  421.  
  422.  
  423.   <prototype name="xmlcatalog" group="xml" description="XML Catalog" targetNamespace="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  424.     <location link="jar:common.jar!xml/gen/xmlcatalog.hrc"/>
  425.     <filename>/\.xml$/ix</filename>
  426.     <firstline weight='5'>/-\/{2}OASIS\/{2}DTD Entity Resolution XML Catalog V1\.0\/{2}EN/</firstline>
  427.   </prototype>  
  428.   <prototype name="docbook" group="xml" description="DocBook 4.2">
  429.     <location link="jar:common.jar!xml/gen/docbook.hrc"/>
  430.     <filename>/\.(dbk?|docbook)$/i</filename>
  431.     <firstline weight='3'>/DOCTYPE article/</firstline>
  432.     <firstline weight='3'>/DocBook XML/</firstline>
  433.     <firstline weight='3'>/&lt;(article|book)/s</firstline>
  434.   </prototype>
  435.   <prototype name="mathml" group="xml" description="MathML2">
  436.     <location link="jar:common.jar!xml/gen/mathml.hrc"/>
  437.     <filename>/\.(math?|mml)$/i</filename>
  438.     <firstline weight='3'>/MathML/</firstline>
  439.   </prototype>
  440.  
  441.  
  442.   <!--  database languages  -->
  443.   <prototype name="clarion" group="database" description="Clarion">
  444.     <location link="jar:common.jar!db/clarion.hrc"/>
  445.     <filename>/\.(cla|clw)$/i</filename>
  446.   </prototype>
  447.   <!-- warning!! extensions conflict with Clipper -->
  448.   <prototype name="Clipper" group="database" description="Clipper">
  449.     <location link="jar:common.jar!db/clipper.hrc"/>
  450.     <filename>/\.(ch|prg)$/i</filename>
  451.     <firstline>/\#include/</firstline>
  452.     <firstline>/\#define|\#if/</firstline>
  453.   </prototype>
  454.   <prototype name="foxpro" group="database" description="FoxPro">
  455.     <location link="jar:common.jar!db/foxpro.hrc"/>
  456.     <filename>/\.(prg|spr|mpr)$/i</filename>
  457.   </prototype>
  458.   <prototype name="sqlj" group="database" description="SQLJ (Java sql)">
  459.     <location link="jar:common.jar!db/sqlj.hrc"/>
  460.     <filename>/\.sqlj$/i</filename>
  461.   </prototype>
  462.   <prototype name="paradox" group="database" description="Paradox">
  463.     <location link="jar:common.jar!db/paradox.hrc"/>
  464.     <filename>/\.sc$/i</filename>
  465.   </prototype>
  466.   <prototype name="sql" group="database" description="SQL, PL/SQL">
  467.     <location link="jar:common.jar!db/sql.hrc"/>
  468.     <filename>/\.sql$/i</filename>
  469.       <parameters>
  470.         <param name="backslash_escapes" value="true" description="Treat \' in character literals as an escaped '"/>
  471.       </parameters>
  472.   </prototype>
  473.   <prototype name="mysql" group="database" description="MySQL">
  474.    <location link="jar:common.jar!db/mysql.hrc"/>
  475.    <filename>/\.sql$/i</filename>
  476.   </prototype>
  477.  
  478.   <!--  scripts  -->
  479.   &scripts-ini-protos;
  480.  
  481.   <prototype name="Batch" group="scripts" description="Batch/Config.sys/NTcmd">
  482.     <location link="jar:common.jar!scripts/batch.hrc"/>
  483.     <filename>/\.(Cmd|Bat|nt|btm|sys)$/i</filename>
  484.   </prototype>
  485.   <prototype name="apache" group="scripts" description="Apache httpd.conf">
  486.     <location link="jar:common.jar!scripts/apache.hrc"/>
  487.     <filename>/(httpd\.conf|srm\.conf|access\.conf|\.htaccess|apache\.conf)$/i</filename>
  488.   </prototype>
  489.   <prototype name="shell" group="scripts" description="sh/ksh/bash script">
  490.     <location link="jar:common.jar!scripts/sh.hrc"/>
  491.     <filename>/\.(sh|spec)$|^\./i</filename>
  492.     <filename>/^PKGBUILD$/i</filename>
  493.     <firstline weight='2'>/^\#(!\s*.+sh\b)/</firstline>
  494.   </prototype>
  495.   <prototype name="avisynth" group="scripts" description="AviSynth">
  496.     <location link="jar:common.jar!scripts/avisynth.hrc"/>
  497.     <filename>/\.(avs|avsi)$/i</filename>
  498.   </prototype>
  499.   <prototype name="config" group="scripts" description="Config, INI and CTL">
  500.     <location link="jar:common.jar!scripts/config.hrc"/>
  501.     <filename>/\.(ctl|tpl|ini|cfg|inf|srg|conf|types|tab|dof|dsk|lng)$/i</filename>
  502.     <firstline>/^[;\[\#]/</firstline>
  503.   </prototype>
  504.   <prototype name="awk" group="scripts" description="AWK">
  505.     <location link="jar:common.jar!scripts/awk.hrc"/>
  506.     <filename weight='5'>/\.awk$/i</filename>
  507.     <firstline>/^# gawk/i</firstline>
  508.   </prototype>
  509.  
  510.  
  511.   &scripts-colorer-protos;
  512.   &scripts-far-protos;
  513.  
  514.  
  515.  
  516.   <prototype name="makefile" group="scripts" description="makefile">
  517.     <location link="jar:common.jar!scripts/makefile.hrc"/>
  518.     <filename>/(makefile | tools\.ini) | \.(mak|gmk|ds(p|w)|bp(k|r|g)$)/ix</filename>
  519.         <filename weight='3'>/(android|application)\.mk/i</filename>
  520.     <!--firstline>/Microsoft Developer Studio Project File/i</firstline>
  521.    <firstline>/^\!if/i</firstline-->
  522.     <firstline>/makefile/s</firstline>
  523.     <parameters>
  524.       <param name="gnu" value="false" description="use GNU make only"/>
  525.     </parameters>
  526.   </prototype>
  527.   <prototype name="qmake" group="scripts" description="Qt qmake">
  528.     <location link="jar:common.jar!scripts/qmake.hrc"/>
  529.     <filename>/\.pr[oif]$/i</filename>
  530.   </prototype>
  531.  
  532.   <prototype name="mkb" group="scripts" description="Project build file for Airplay SDK">
  533.     <filename>/\.(mkb|mkf)$/i</filename>
  534.     <location link="jar:common.jar!scripts/mkb.hrc"/>
  535.   </prototype>
  536.   <prototype name="ant" group="scripts" description="Ant's build.xml" targetNamespace="http://jakarta.apache.org/ant/">
  537.     <location link="jar:common.jar!scripts/gen/ant.hrc"/>
  538.     <filename weight='4'>/\bbuild\.xml$/ix</filename>
  539.     <firstline weight='5'>/&lt;project\b/</firstline>
  540.   </prototype>
  541.  
  542.   <prototype name="acapella" group="scripts" description="Acapella">
  543.     <location link="jar:common.jar!scripts/acapella/acapella.hrc"/>
  544.     <filename>/\.(script|proc|param|parameter)$/i</filename>
  545.     <parameters>
  546.       <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
  547.       <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
  548.     </parameters>
  549.   </prototype>
  550.  
  551.   <prototype name="qrc" group="scripts" description="qrc">
  552.     <location link="jar:common.jar!scripts/gen/qrc.hrc"/>
  553.     <filename>/\.qrc$/ix</filename>
  554.   </prototype>
  555.  
  556.  <prototype name="m4" group="scripts" description="M4">
  557.     <location link="jar:common.jar!scripts/m4.hrc"/>
  558.     <filename>/\.m4$/i</filename>
  559.   </prototype>
  560.   <prototype name="linkdef" group="scripts" description="Link Defines">
  561.     <location link="jar:common.jar!scripts/linkdef.hrc"/>
  562.     <filename weight='3'>/\.def$/i</filename>
  563.   </prototype>
  564.   <prototype name="resources" group="scripts" description="Resources">
  565.     <location link="jar:common.jar!scripts/resrc.hrc"/>
  566.     <filename>/\.(rc|dlg)$/i</filename>
  567.   </prototype>
  568.  
  569.   <prototype name="javacc" group="scripts" description="Java Compiler Compiler">
  570.     <location link="jar:common.jar!scripts/javacc.hrc"/>
  571.     <filename>/\.(jjt?)$/i</filename>
  572.   </prototype>
  573.   <prototype name="javaProperties" group="scripts" description="Java properties">
  574.     <location link="jar:common.jar!scripts/javaprop.hrc"/>
  575.     <filename>/\.pro(p(erties)?)?$/i</filename>
  576.   </prototype>
  577.   <prototype name="javapolicy" group="scripts" description="Java policy">
  578.     <location link="jar:common.jar!scripts/javapolicy.hrc"/>
  579.     <filename>/\.policy$/i</filename>
  580.   </prototype>
  581.   <prototype name="asn1" group="scripts" description="ASN.1/ECN">
  582.     <location link="jar:common.jar!scripts/asn1.hrc"/>
  583.     <filename>/\.(asn|asn1|ecn|edm|elm|mib)$/i</filename>
  584.     <filename>/-mib$/i</filename>
  585.   </prototype>
  586.   <prototype name="lex" group="scripts" description="Lex">
  587.     <location link="jar:common.jar!scripts/lex.hrc"/>
  588.     <filename>/\.(l|f?lex)+$/i</filename>
  589.   </prototype>
  590.   <prototype name="yacc" group="scripts" description="YACC">
  591.     <location link="jar:common.jar!scripts/yacc.hrc"/>
  592.     <filename>/\.y+$/i</filename>
  593.   </prototype>
  594.  
  595.  
  596.   <prototype name="delphiform" group="scripts" description="Delphi form">
  597.     <location link="jar:common.jar!scripts/dfm.hrc"/>
  598.     <filename>/\.dfm$/i</filename>
  599.   </prototype>
  600.   <prototype name="pnuts" group="scripts" description="Java: Pnuts">
  601.     <location link="jar:common.jar!scripts/pnuts.hrc"/>
  602.     <filename>/\.(pnut)$/i</filename>
  603.     <parameters>
  604.       <param name="pnuts-modules" value="true" description="Use some common Pnuts module function names"/>
  605.       <param name="j2se-classes" value="true" description="Use some common used J2SE class names"/>
  606.       <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/>
  607.       <param name="spaces-as-errors" value="false" description="Shows trailing spaces as error"/>
  608.     </parameters>
  609.   </prototype>
  610.  
  611.     <prototype name="scons" group="scripts" description="SCons">
  612.     <location link="jar:common.jar!scripts/scons.hrc"/>
  613.     <filename>/(SConstruct|SConscript)$/i</filename>
  614.   </prototype>
  615.   <prototype name="rtf" group="scripts" description="RTF text">
  616.     <location link="jar:common.jar!scripts/rtf.hrc"/>
  617.     <filename>/\.rtf$/i</filename>
  618.   </prototype>
  619.   <prototype name="TeX" group="scripts" description="TeX">
  620.     <location link="jar:common.jar!scripts/tex.hrc"/>
  621.     <filename>/\.(tex|cls|sty|ltx|ltr|dtx)$/i</filename>
  622.   </prototype>
  623.   <prototype name="graphviz" group="scripts" description="GraphViz dot">
  624.     <location link="jar:common.jar!scripts/graphviz.hrc"/>
  625.     <filename>/\.dot+$/i</filename>
  626.   </prototype>
  627.   <prototype name="dcl" group="scripts" description="OpenVMS DCL">
  628.     <location link="jar:common.jar!scripts/dcl.hrc"/>
  629.     <filename>/\.com$/i</filename>
  630.   </prototype>
  631.   <prototype name="vrml" group="scripts" description="VRML">
  632.     <location link="jar:common.jar!scripts/vrml.hrc"/>
  633.     <filename>/\.wrl$/i</filename>
  634.   </prototype>
  635.  
  636.   <prototype name="wsc" group="scripts" description="wsc" targetNamespace="uri:wsc">
  637.     <!-- NOTE! 'targetNamespace' is fictive, used only for xsd2hrc -->
  638.     <location link="jar:common.jar!scripts/gen/wsc.hrc"/>
  639.     <filename>/\.wsc$/i</filename>
  640.   </prototype>
  641.   <prototype name="wsf" group="scripts" description="wsf">
  642.     <location link="jar:common.jar!scripts/gen/wsf.hrc"/>
  643.     <filename>/\.wsf$/i</filename>
  644.   </prototype>
  645.  
  646.  
  647.   <prototype name="rarscript" group="scripts.install" description="RAR Install Script">
  648.     <location link="jar:common.jar!scripts/rarscrpt.hrc"/>
  649.     <filename>/\.s$/i</filename>
  650.   </prototype>
  651.   <prototype name="nsi" group="scripts.install" description="Nullsoft Install Script">
  652.     <location link="jar:common.jar!scripts/nsi.hrc"/>
  653.     <filename>/\.ns(i|h)$/i</filename>
  654.   </prototype>
  655.   <prototype name="iss" group="scripts.install" description="InnoSetup script">
  656.     <location link="jar:common.jar!scripts/iss.hrc"/>
  657.     <filename>/\.iss$/i</filename>
  658.   </prototype>
  659.   <prototype name="isScripts" group="scripts.install" description="IS script">
  660.     <location link="jar:common.jar!scripts/rul.hrc"/>
  661.     <filename>/\.rul$/i</filename>
  662.   </prototype>
  663.  
  664.   <!--  rare languages  -->
  665.  
  666.     &rare-j2ee-protos;
  667.     &rare-gen-protos;
  668.     &rare-scripts-protos;
  669.     &rare-qrm-protos;
  670.     &rare-ie-weidu-protos;
  671.    
  672.   <prototype name="c1c" group="rare" description="1C">
  673.     <location link="jar:common.jar!rare/1c.hrc"/>
  674.     <filename>/\.1c$/i</filename>
  675.   </prototype>
  676.   <prototype name="ada" group="rare" description="Ada">
  677.     <location link="jar:common.jar!rare/ada.hrc"/>
  678.     <filename>/\.(ads|adb|adc)$/i</filename>
  679.   </prototype>
  680.   <prototype name="abap4" group="rare" description="ABAP/4">
  681.     <location link="jar:common.jar!rare/abap4.hrc"/>
  682.     <filename>/\.(abap4|abap)$/i</filename>
  683.   </prototype>
  684.   <prototype name="AutoIt" group="rare" description="AutoIt 2.x">
  685.     <location link="jar:common.jar!rare/autoit.hrc"/>
  686.     <filename>/\.aut$/i</filename>
  687.   </prototype>
  688.  
  689.   <!--  !! you may wish to swap next two types
  690.  because of collision with extensions  -->
  691.   <prototype name="dssp" group="rare" description="Dssp">
  692.     <location link="jar:common.jar!rare/dssp.hrc"/>
  693.     <filename>/\.dsp$/i</filename>
  694.     <firstline>/PROGRAM/si</firstline>
  695.   </prototype>
  696.   <prototype name="adsp" group="rare" description="ADSP-21xx Asm">
  697.     <location link="jar:common.jar!rare/adsp.hrc"/>
  698.     <filename>/\.(dsp|sys)$/i</filename>
  699.   </prototype>
  700.   <prototype name="Baan" group="rare" description="Baan">
  701.     <location link="jar:common.jar!rare/baan.hrc"/>
  702.     <filename>/\.cln$/i</filename>
  703.   </prototype>
  704.   <prototype name="cobol" group="rare" description="Cobol Fixed format">
  705.     <location link="jar:common.jar!rare/cobol.hrc"/>
  706.     <filename>/\.(cob|cbl)$/i</filename>
  707.   </prototype>
  708.   <prototype name="cobolfr" group="rare" description="Cobol Free format">
  709.     <location link="jar:common.jar!rare/cobolfr.hrc"/>
  710.     <firstline>/SOURCEFORMAT\"FREE\"/i</firstline>
  711.     <filename>/\.(cob|cbl)$/i</filename>
  712.   </prototype>
  713.   <prototype name="cache" group="rare" description="Cache/Open-M">
  714.     <location link="jar:common.jar!rare/cache.hrc"/>
  715.     <filename>/\.(rsa|ro|rtn|inc|int|mac|cdl)$/i</filename>
  716.     <firstline>/^(Cache|OpenM)[^\^]+\^(IN[TC]|MAC)[^\^]*\^.*$/i</firstline>
  717.   </prototype>
  718.   <prototype name="cup" group="rare" description="CUP">
  719.     <location link="jar:common.jar!rare/cup.hrc"/>
  720.     <filename>/\.(cup)$/i</filename>
  721.   </prototype>  
  722.   <prototype name="eiffel" group="rare" description="Eiffel">
  723.     <location link="jar:common.jar!rare/eiffel.hrc"/>
  724.     <filename>/\.e$/i</filename>
  725.   </prototype>
  726.     <prototype name="erlang" group="rare" description="Erlang">
  727.     <location link="jar:common.jar!rare/erlang.hrc"/>
  728.     <filename>/\.[eh]rl$/i</filename>
  729.   </prototype>
  730.   <prototype name="icon" group="rare" description="Icon">
  731.     <location link="jar:common.jar!rare/icon.hrc"/>
  732.     <filename>/\.icn$/i</filename>
  733.   </prototype>
  734.   <prototype name="lisp" group="rare" description="Lisp">
  735.     <location link="jar:common.jar!rare/lisp.hrc"/>
  736.     <filename>/\.(lsp|lisp|scm|elc|el)$/i</filename>
  737.   </prototype>
  738.   <prototype name="mako" group="rare" description="Mako templates">
  739.     <location link="jar:common.jar!rare/mako.hrc"/>
  740.     <!-- extension conflicts with Makefile, hence weight is less than 2 -->
  741.     <filename weight="1.5">/\.(mako|mak)$/i</filename>
  742.     <firstline>/\&lt;%/</firstline>
  743.   </prototype>
  744.   <prototype name="matlab" group="rare" description="MatLab">
  745.     <location link="jar:common.jar!rare/matlab.hrc"/>
  746.     <filename>/\.m$/i</filename>
  747.   </prototype>
  748.   <!-- warning!! extensions conflict with link defines -->
  749.   <prototype name="modula2" group="rare" description="Modula2 and Oberon2">
  750.     <location link="jar:common.jar!rare/modula.hrc"/>
  751.     <filename>/\.(mod|ob2|odf|def)$/i</filename>
  752.     <firstline>/\(\*|MODULE|DEFINITION|IMPLEMENTATION|&lt;\*/</firstline>
  753.   </prototype>
  754.   <prototype name="nesc" group="rare" description="nesC">
  755.     <location link="jar:common.jar!rare/nesc.hrc"/>
  756.     <filename>/\.nc$/i</filename>
  757.   </prototype>
  758.   <prototype name="picasm" group="rare" description="PicAsm">
  759.     <location link="jar:common.jar!rare/picasm.hrc"/>
  760.     <filename>/\.(asm|pic)$/i</filename>
  761.   </prototype>
  762.   <prototype name="pl1" group="rare" description="PL1">
  763.     <location link="jar:common.jar!rare/pl1.hrc"/>
  764.     <filename>/\.(pl1|pli)$/i</filename>
  765.   </prototype>
  766.   <prototype name="rexx" group="rare" description="Rexx">
  767.     <location link="jar:common.jar!rare/rexx.hrc"/>
  768.     <filename>/\.(rex|cmd)$/i</filename>
  769.     <firstline>/(REM)\/\*/i</firstline>
  770.     <firstline>/^# regina/i</firstline>
  771.     <firstline weight='2'>/^\/\*\s*REXX\s*\*\//i</firstline>
  772.   </prototype>
  773.  <prototype name="jcl" group="rare" description="JCL">
  774.     <location link="jar:common.jar!rare/jcl.hrc"/>
  775.     <filename>/\.(jcl)$/i</filename>
  776.     <firstline weight='2'>/^\/\//i</firstline>
  777.   </prototype>
  778.  
  779.   <prototype name="sml" group="rare" description="Standard ML">
  780.     <location link="jar:common.jar!rare/sml.hrc"/>
  781.     <filename>/\.(sml|sig)$/i</filename>
  782.   </prototype>
  783.   <prototype name="ocaml" group="rare" description="OCaml">
  784.     <location link="jar:common.jar!rare/ocaml.hrc"/>
  785.     <filename>/\.ml[ilpy]?$/i</filename>
  786.   </prototype>
  787.   <prototype name="sicstusProlog" group="rare" description="Sicstus Prolog">
  788.     <location link="jar:common.jar!rare/sprolog.hrc"/>
  789.     <filename>/\.pl$/i</filename>
  790.   </prototype>
  791.   <prototype name="stata" group="rare" description="STATA">
  792.     <location link="jar:common.jar!rare/stata.hrc"/>
  793.     <filename>/\.a?do$/i</filename>
  794.   </prototype>  
  795.   <prototype name="turboProlog" group="rare" description="Turbo Prolog">
  796.     <location link="jar:common.jar!rare/tprolog.hrc"/>
  797.     <filename>/\.tpl$/i</filename>
  798.   </prototype>
  799.   <prototype name="verilog" group="rare" description="Verilog HDL">
  800.     <location link="jar:common.jar!rare/verilog.hrc"/>
  801.     <filename weight='3'>/\.g?v$/i</filename>
  802.   </prototype>
  803.   <prototype name="vhdl" group="rare" description="VHDL">
  804.     <location link="jar:common.jar!rare/vhdl.hrc"/>
  805.     <filename>/\.vhdl?$/i</filename>
  806.   </prototype>
  807.  <prototype name="ahdl" group="rare" description="AHDL">
  808.    <location link="jar:common.jar!rare/ahdl.hrc"/>
  809.    <filename>/\.(tdf|tdo|ahdl)$/i</filename>
  810.  </prototype>
  811.   <prototype name="z80" group="rare" description="z80asm">
  812.     <location link="jar:common.jar!rare/z80.hrc"/>
  813.     <filename>/\.za$/i</filename>
  814.   </prototype>
  815.   <prototype name="asm80" group="rare" description="asm80">
  816.     <location link="jar:common.jar!rare/asm80.hrc"/>
  817.     <filename>/\.a80$/i</filename>
  818.   </prototype>
  819.   <prototype name="a51" group="rare" description="8051 asm">
  820.     <location link="jar:common.jar!rare/a51-5.hrc"/>
  821.     <filename>/\.a5(1|2)$/i</filename>
  822.   </prototype>
  823.   <prototype name="avr" group="rare" description="AVR asm">
  824.     <location link="jar:common.jar!rare/avr-5.hrc"/>
  825.     <filename>/\.(asm|inc|avr)$/i</filename>
  826.     <firstline>/^\s*;/</firstline>
  827.   </prototype>
  828.   <prototype name="mason" group="rare" description="mason">
  829.     <location link="jar:common.jar!rare/mason.hrc"/>
  830.     <filename>/\.(mc)$/i</filename>
  831.   </prototype>
  832.   <prototype name="postscript" group="rare" description="PostScript">
  833.     <location link="jar:common.jar!rare/postscript.hrc"/>
  834.     <filename>/\.((e)?ps|pfa|gsf)$/i</filename>
  835.     <firstline weight="3">/^\%\!PS/</firstline>
  836.     <firstline>/^\%\!/</firstline>
  837.   </prototype>
  838.   <!-- flex extension conflicts -->
  839.   <prototype name="flex" group="rare" description="FlexScript">
  840.     <location link="jar:common.jar!rare/flex.hrc"/>
  841.     <filename>/\.(src|inc|inf)$/i</filename>
  842.     <firstline>/\*{10}/</firstline>
  843.   </prototype>
  844.  
  845.    
  846.   <!--  other types  -->
  847.   &scripts-msg-protos;
  848.  
  849.   <prototype name="ass" group="other" description="(Advanced) SubStation Alpha script">
  850.     <location link="jar:common.jar!misc/assa.hrc"/>
  851.     <filename>/\.(ssa|ass)$/</filename>
  852.     <firstline weight='2'>/^(...)?\[Script Info\]/</firstline>
  853.   </prototype>
  854.   <prototype name="cue" group="other" description="Cue sheet">
  855.     <location link="jar:common.jar!misc/cue.hrc"/>
  856.     <filename>/\.cue$/</filename>
  857.   </prototype>
  858.   <prototype name="filesbbs" group="other" description="files.bbs">
  859.     <location link="jar:common.jar!misc/filesbbs.hrc"/>
  860.     <filename>/(files\.bbs|descript\.ion|file_id.diz)/i</filename>
  861.   </prototype>
  862.   <prototype name="diff" group="other" description="Diff/Patch">
  863.     <location link="jar:common.jar!misc/diff.hrc"/>
  864.     <filename>/\.(diff.*|patch|rej(ect)?)$/i</filename>
  865.     <firstline weight='2'>/^(diff|Index|---|\+\+\+|\*\*\*)/si</firstline>
  866.     <firstline>/^(\d+,\d+\w\d+ | \d+\w\d+)/i</firstline>
  867.     <firstline>/^cvs/i</firstline>
  868.     <parameters>
  869.       <param name="trailing-space"      value="false" description="Mark trailing spaces as errors"/>
  870.       <param name="space-before-tab"    value="false" description="Mark leading spaces before tabs as errors"/>
  871.       <param name="indent-with-non-tab" value="false" description="Mark 8 or more leading spaces as errors"/>
  872.       <param name="indent-with-tab"     value="false" description="Mark leading tabs as errors"/>
  873.     </parameters>
  874.   </prototype>
  875.   <prototype name="text" group="other" description="plain text">
  876.     <location link="jar:common.jar!misc/text.hrc"/>
  877.     <filename>/(read\.?me|\.txt$|\.rus|\.nfo|\.log|install*|*ChangeLog*|AUTHORS|COPYING|FAQ|LICENSE|TODO$)/i</filename>
  878.     <filename>/\.spo/ix</filename>
  879.   </prototype>
  880.  
  881.   <prototype name="default" group="other" description="default type">
  882.     <filename weight='1'>//</filename>
  883.     <parameters>
  884.       <!-- firstline -->
  885.       <param name='firstlines'     value='4'   description="lines for 'firstline'"/>
  886.       <param name='firstlinebytes' value='500' description="bytes for 'firstline'"/>
  887.     </parameters>
  888.   </prototype>
  889.  
  890.   <type name="default"><scheme name='default'/></type>
  891.  
  892.  
  893.   <!--  packages  -->
  894.  
  895.   <package name="def" description="core definitions">
  896.     <location link="jar:common.jar!lib/default.hrc"/>
  897.   </package>
  898.   <package name="uri" description="URI (RFC 2396)">
  899.     <location link="jar:common.jar!lib/uri.hrc"/>
  900.   </package>
  901.   <package name="ole" description="OLE Commons">
  902.     <location link="jar:common.jar!lib/ole.hrc"/>
  903.   </package>
  904.   <package name="regexp" description="Regexp common library">
  905.     <location link="jar:common.jar!lib/regexp.hrc"/>
  906.   </package>
  907.   <package name="far" description="FAR Manager common expressions">
  908.     <location link="jar:common.jar!lib/far.hrc"/>
  909.   </package>
  910.   <package name="msg" description="message package">
  911.     <location link="jar:common.jar!lib/message.hrc"/>
  912.   </package>
  913.   <package name="doxygen" description="Doxygen">
  914.    <location link="jar:common.jar!lib/doxygen.hrc"/>
  915.   </package>
  916.  
  917. </hrc>
  918. <!-- ***** BEGIN LICENSE BLOCK *****
  919.   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  920.   -
  921.   - The contents of this file are subject to the Mozilla Public License Version
  922.   - 1.1 (the "License"); you may not use this file except in compliance with
  923.   - the License. You may obtain a copy of the License at
  924.   - http://www.mozilla.org/MPL/
  925.   -
  926.   - Software distributed under the License is distributed on an "AS IS" basis,
  927.   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  928.   - for the specific language governing rights and limitations under the
  929.   - License.
  930.   -
  931.   - The Original Code is the Colorer Library.
  932.   -
  933.   - The Initial Developer of the Original Code is
  934.   - Igor Russkih <irusskih at gmail dot com>
  935.   - Portions created by the Initial Developer are Copyright (C) 1999-2007
  936.   - the Initial Developer. All Rights Reserved.
  937.   -
  938.   - Contributor(s):
  939.   - Eugene Efremov <4mirror@mail.ru>
  940.   -
  941.   - Alternatively, the contents of this file may be used under the terms of
  942.   - either the GNU General Public License Version 2 or later (the "GPL"), or
  943.   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  944.   - in which case the provisions of the GPL or the LGPL are applicable instead
  945.   - of those above. If you wish to allow use of your version of this file only
  946.   - under the terms of either the GPL or the LGPL, and not to allow others to
  947.   - use your version of this file under the terms of the MPL, indicate your
  948.   - decision by deleting the provisions above and replace them with the notice
  949.   - and other provisions required by the LGPL or the GPL. If you do not delete
  950.   - the provisions above, a recipient may use your version of this file under
  951.   - the terms of any one of the MPL, the GPL or the LGPL.
  952.   -
  953.   - ***** END LICENSE BLOCK ***** -->
RAW Paste Data