|
Программируем по-русски
|
Основная задача Глагола — дать человеку возможность воплощать свои мысли на языке, близком к его родному языку. Издатель Глагола
|
<?xml version="1.0" encoding='Windows-1251'?> <!-- Конфигурационный файл для hrc-схем расцветки синтаксиса в языках программирования модуля FarColorer-5 в диспетчере Файлов и Архивов Рошаля (ФАР). Добавлены hrc-схемы для русских ЯП: /rare/Glagol.hrc .(отд) и /rare/ARM.hrc .(код|asm|s) Изменена hrc-схема для ЯП Pascal. Добавлены hrc-схемы для ЯП Модула-2, Оберон-2, Оберон-7, Компонетный Паскаль: /base/Modula2.hrc .(mod|MOD) /base/Modula-DEF.hrc .(def|odf) /base/Oberon2.hrc .(ob2|Mod) /base/Oberon7.hrc .(ob7) /base/CoPascal.hrc .(cp) Добавлены hrc-схемы для ЯП Модула-2 из проекта Андреева (Пермь) русский компилятор для Win32 (x86) "Странник: Модула-Си-Паскаль": /base/Strannik-m.hrc .(m) и /base/Strannik-d.hrc .(d) <!DOCTYPE hrc SYSTEM "-//Cail Lomecb (Игорь Русских/Igor Ruskih) 1999-2003//DTD Colorer HRC take5//EN" "http://colorer.sf.net/2003/hrc.dtd"> --> <!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-j2ee-protos SYSTEM "rare.j2ee.ent.hrc"> <!ENTITY rare-ie-weidu-protos SYSTEM "rare.ie-weidu.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="oberon2" group="base" description="(ob2) XDS Oberon-2"> <location link="jar:common.jar!base/Oberon2.hrc"/> <filename>/\.(ob2)/i</filename> <!-- (|odf) XDS --> <filename>/\.(Mod)/</filename> <!-- oo2c to gcc --> <firstline>/^(\(\*)|(MODULE)/</firstline> <firstline>/^(<\*)/</firstline><!-- "Тексторез" в XDS M2/O2 --> </prototype> <prototype name="coPascal" group="base" description="(cp) GP CPas, BlackBox CPas"> <location link="jar:common.jar!base/CoPascal.hrc"/> <filename>/\.(cp)/i</filename> <!-- (cp) GP CPas, BlackBox CPas, CPcc --> <firstline>/^(\(\*)|(MODULE)/</firstline> </prototype> <prototype name="oberon7" group="base" description="(ob7) Ob7M"> <location link="jar:common.jar!base/Oberon7.hrc"/> <filename>/\.(ob7)/i</filename><!-- Ob7M/2013 Н.Вирт --> <firstline>/^(\(\*)|(MODULE)/</firstline> </prototype> <prototype name="modula2" group="base" description="Modula-2 TopSpeed, XDS"> <location link="jar:common.jar!base/Modula2.hrc"/> <filename>/\.((mod)|(MOD))/</filename><!-- XDS, TopSpeed --> <firstline>/^(\(\*)|(MODULE)|(IMPLEMENTATION)/</firstline> <firstline>/^(<\*)/</firstline><!-- "Тексторез" в XDS M2/O2 --> <firstline>/^(\(\*\%\T)|(\(\*\%\F)/</firstline><!-- "Тексторез" в TopSpeed Modula-2 --> </prototype> <prototype name="modula2-def" group="base" description="XDS M2/O2(odf|def), TopSpeed Modula-2(def), Strannik: Modula-C-Pascal(def)"> <location link="jar:common.jar!base/Modula-DEF.hrc"/> <filename>/\.(odf|def)/i</filename><!-- XDS, TopSpeed --> <firstline>/^((\(\*)|(DEFINITION))/i</firstline> <firstline>/^(<\*)/</firstline><!-- "Тексторез" в XDS M2/O2 --> <firstline>/^(\(\*\%\T)|(\(\*\%\F)/</firstline><!-- "Тексторез" в TopSpeed Modula-2 --> <firstline>/^((\/\/)|(\/\*))/</firstline><!-- Пояснение в Strannik: Modula-C-Pascal --> </prototype> <prototype name="strannik-m" group="base" description="Modula-2 of Strannik: Modula-C-Pascal"> <location link="jar:common.jar!base/Strannik-m.hrc"/> <filename>/\.(m)/i</filename> <!-- |d|def // m-файлы в MatLab уже НЕ будут правильно расцвечиваться --> <firstline>/^((module)|(implemetation))/i</firstline> <firstline>/^((\/\/)|(\/\*))/</firstline><!-- Пояснение в Strannik: Modula-C-Pascal --> </prototype> <prototype name="strannik-d" group="base" description="Modula-2 of Strannik: Modula-C-Pascal"> <location link="jar:common.jar!base/Strannik-d.hrc"/> <filename>/\.(d)/i</filename> <!-- |def // d-файлы в других языках уже НЕ будут правильно расцвечиваться--> <firstline>/^(definition)/i</firstline> <firstline>/^((\/\/)|(\/\*))/</firstline><!-- Пояснение в Strannik: Modula-C-Pascal --> </prototype> <!-- <prototype name="modula2" group="base" description="Modula2, Oberon2, Ob7M, CPas"> <location link="jar:common.jar!base/Modula.hrc"/> <filename>/\.(mod|def|ob2|odf|ob7|cp)$/i</filename> <firstline>/^\(\*|<\*|MODULE|DEFINITION|IMPLEMENTATION/</firstline> </prototype> --> <prototype name="pascal" group="base" description="Pascal, Delphi, .Net; Strannik: Modula-C-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="c" group="base" description="C"> <location link="jar:common.jar!base/c.hrc"/> <filename>/\.c$/i</filename> <parameters> <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"/> </parameters> </prototype> <!-- <prototype name="c" group="base" 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="base" 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="base" description="D"> <location link="jar:common.jar!base/d.hrc"/> <filename>/\.di?$/i</filename> <firstline>/^\s*(module|import)\b/xi</firstline> <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="base" 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="base" description="Perl"> <location link="jar:common.jar!base/perl.hrc"/> <filename>/\.(pl[sx]?|pm|pod|t|ph)$/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="base" description="Java"> <location link="jar:common.jar!base/java.hrc"/> <filename>/\.ja(va|v|d)$/i</filename> <firstline weight='2'>/^\/\/ Decompiled by Jad/</firstline> <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"/> <param name="outlined-new" value="false" description="Outline creation of instances"/> <param name="j2se-core-classes" value="true" description="Use names of J2SE core classes"/> <param name="j2se-xml-classes" value="true" description="Use names of J2SE Xml classes"/> <param name="j2se-javax-classes" value="false" description="Use names of J2SE javax.* classes"/> <param name="j2se-gui-classes" value="false" description="Use names of J2SE applet, Awt and Swing classes"/> <param name="j2se-omg-classes" value="false" description="Use names of J2SE org.omg.* classes"/> </parameters> </prototype> <prototype name="idl" group="base" description="IDL"> <location link="jar:common.jar!base/idl.hrc"/> <filename>/\.(hvs|[io]dl)$/i</filename> <firstline>/^\s*(\/\* | \/\/)/xi</firstline> <firstline>/\#include/</firstline> </prototype> <!-- <prototype name="pascal" group="base" 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="base" description="C#"> <location link="jar:common.jar!base/csharp.hrc"/> <filename>/\.cs$/i</filename> </prototype> <prototype name="jsnet" group="base" description="JS.NET"> <location link="jar:common.jar!base/js.net.hrc"/> <filename weight="0.5">/\.js$/i</filename> </prototype> <prototype name="vbnet" group="base" description="VB.NET"> <location link="jar:common.jar!base/vb.net.hrc"/> <filename>/\.vb$/i</filename> </prototype> <!-- warning!! (.f) extensions conflict with Fortran --> <prototype name="forth" group="base" description="Forth"> <location link="jar:common.jar!base/forth.hrc"/> <filename>/\.(fth|f32|f|spf)$/i</filename> </prototype> <prototype name="fortran" group="base" description="Fortran"> <location link="jar:common.jar!base/fortran.hrc"/> <filename>/\.(for|f(90)?)$/i</filename> </prototype> <prototype name="vbasic" group="base" 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="base" 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="base" description="Lua"> <location link="jar:common.jar!base/lua.hrc"/> <filename>/\.(w?lua)$/i</filename> </prototype> <prototype name="ruby" group="base" 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="base" description="Scala"> <location link="jar:common.jar!base/scala.hrc"/> <filename>/\.scala$/i</filename> </prototype> <prototype name="tcltk" group="base" 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> <prototype name="go" group="base" description="Go"> <location link="jar:common.jar!base/go.hrc"/> <filename>/\.go$/i</filename> <parameters> <param name="tabs-as-errors" value="false" description="Shows tabulation symbol as error"/> </parameters> </prototype> <prototype name="kotlin" group="base" description="Kotlin"> <location link="jar:common.jar!base/kotlin.hrc"/> <filename>/\.kt$/i</filename> </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> <parameters> <param name="conditional-comments" value="true" description="IE conditional comments"/> <param name="html-pairs" value="true" description="Highlighting some known HTML Pair tags. Please, use < /> syntax for singles like p, td, tr etc.."/> </parameters> </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> </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="less" group="inet" description="Less css"> <location link="jar:common.jar!inet/less.hrc"/> <filename>/\.less$/</filename> </prototype> <prototype name="smarty" group="inet" description="Smarty PHP Templates"> <location link="jar:common.jar!inet/smarty.hrc"/> <filename weight="10">/\.smarty$/</filename> </prototype> <prototype name="ss" group="inet" description="SilverStripe"> <location link="jar:common.jar!inet/ss.hrc"/> <filename weight="10">/\.ss$/</filename> </prototype> <prototype name="twig" group="inet" description="Twig PHP Templates"> <location link="jar:common.jar!inet/twig.hrc"/> <filename weight="10">/\.twig$/</filename> </prototype> <prototype name="haml" group="inet" description="HAML"> <location link="jar:common.jar!inet/haml.hrc"/> <filename>/\.haml$/i</filename> </prototype> <prototype name="shpaml" group="inet" description="SHPAML"> <location link="jar:common.jar!inet/shpaml.hrc"/> <filename>/\.shpaml$/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'/> <param name="docblock" value="true" description="DocBlock highlightning"/> &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[pa]|ht[rxa]|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[pa]|ht[rxa]|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[pa]|ht[rxa]|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>/\.cf[mc]$/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|jsfl)$/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> <prototype name="mxml" group="inet" description="MXML"> <location link="jar:common.jar!inet/mxml.hrc"/> <filename>/\.mxml$/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>/\.cl[aw]$/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 weight="3">/(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>/\.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> <prototype name="powershell" group="scripts" description="PowerShell"> <filename>/\.(ps[dDmM]?1|psfconsole)$/i</filename> <location link="jar:common.jar!scripts/powershell.hrc"/> </prototype> <prototype name="r" group="scripts" description="R"> <filename>/\.(R|Rhistory|Rprofile)$/i</filename> <location link="jar:common.jar!scripts/r.hrc"/> </prototype> <prototype name="markdown" group="scripts" description="markdown"> <filename>/\.(text|md|markdown)$/i</filename> <location link="jar:common.jar!misc/markdown.hrc"/> </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'>/\.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="solution" group="scripts" description="Microsoft Visual Studio Solution File"> <location link="jar:common.jar!scripts/solution.hrc"/> <filename>/\.sln$/</filename> </prototype> <prototype name="mkb" group="scripts" description="Project build file for Airplay SDK"> <filename>/\.mk[bf]$/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="lemon" group="scripts" description="Lemon"> <location link="jar:common.jar!scripts/lemon.hrc"/> <!-- warning!! (.y) extensions conflict with YACC --> <filename weight='1'>/\.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>/SCons(truct|cript)$/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="squirrel" group="scripts" description="squirrel"> <location link="jar:common.jar!scripts/squirrel.hrc"/> <filename>/\.nut$/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[ih]$/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="Glagol" group="rare" description="Glagol/Глагол - ЯП по-русски для x86"> <location link="jar:common.jar!rare/Glagol.hrc"/> <filename>/\.(отд)$/i</filename> <!-- ANSI win1251 --> <firstline>/^\(\*|<\*|ОТДЕЛ/</firstline><!-- ANSI win1251 --> </prototype> <prototype name="ARM" group="rare" description="Asm-коды на выходе МПГ для ARM и Winows CE"> <location link="jar:common.jar!rare/ARM.hrc"/> <filename>/\.(код|asm|s)$/i</filename> <!-- ANSI win1251 --> <firstline>/^\s*;/</firstline> </prototype> <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>/\.ad[sbc]$/i</filename> </prototype> <prototype name="abap4" group="rare" description="ABAP/4"> <location link="jar:common.jar!rare/abap4.hrc"/> <filename>/\.abap4?$/i</filename> </prototype> <prototype name="asasm" group="rare" description="ASASM"> <location link="jar:common.jar!rare/asasm.hrc"/> <filename>/\.asasm$/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> <firstline>/^IDENTIFICATION/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="diet" group="rare" description="Vibe.d Diet Templates"> <location link="jar:common.jar!rare/diet.hrc"/> <filename>/\.dt$/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"/> <!-- (.mako) extension conflicts with Makefile, hence weight is less than 2 --> <filename weight="1.5">/\.mako?$/i</filename> <firstline>/\<%/</firstline> </prototype> <!-- warning!! (.m) extensions conflict with link defines --> <prototype name="matlab" group="rare" description="MatLab"> <location link="jar:common.jar!rare/matlab.hrc"/> <filename>/\.m$/i</filename> </prototype> <!-- <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>/\.pl[1i]$/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> </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="ubasic" group="rare" description="UniVision Basic"> <location link="jar:common.jar!rare/ubasic.hrc"/> <filename>/\.uvbasic$/i</filename> <firstline>/^(PROGRAM\s+\w+$|(SUBROUTINE|EXTERNALFUNCTION) \s+\w+(\s+)?(\(.*\))?$)/ </firstline> </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[12]$/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> <prototype name="llvm" group="rare" description="LLVM IR"> <location link="jar:common.jar!rare/llvm.hrc"/> <filename weight='3'>/\.ll$/i</filename> </prototype> <prototype name="json" group="rare" description="JSON"> <location link="jar:common.jar!rare/json.hrc"/> <filename weight='3'>/\.json$/i</filename> </prototype> <prototype name="yaml" group="rare" description="YAML"> <location link="jar:common.jar!rare/yaml.hrc"/> <filename weight="10">/\.ya?ml$/</filename> </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="srt" group="other" description="SRT subs"> <location link="jar:common.jar!misc/srt.hrc"/> <filename weight="10">/\.srt$/</filename> </prototype> <prototype name="cue" group="other" description="Cue sheet"> <location link="jar:common.jar!misc/cue.hrc"/> <filename>/\.cue$/</filename> </prototype> <prototype name="ddoc" group="other" description="Ddoc"> <location link="jar:common.jar!misc/ddoc.hrc"/> <filename>/\.dd(oc)?$/i</filename> <firstline weight="3">/^Ddoc/x</firstline> <parameters> <!-- firstline --> <param name='firstlines' value='1' description="lines for 'firstline'"/> <param name='firstlinebytes' value='5' description="bytes for 'firstline'"/> </parameters> </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="mediawiki" group="other" description="MediaWiki"> <location link="jar:common.jar!misc/mediawiki.hrc"/> <filename>/\.(mw|mediawiki)$/i</filename> </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 ***** --> |
▲ Вопросы, замечания и предложения высылайте на atimopheyev@yahoo.com
|