Warning, /frameworks/syntax-highlighting/data/syntax/velocity.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language [
0003         <!ENTITY variable1 "\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*">
0004         <!ENTITY variable2 "\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}">
0005         <!ENTITY variable3 "\$!\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}.">
0006         <!ENTITY variable4 "\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[([0-9]*|&quot;[a-zA-Z_]*&quot;)|'[a-zA-Z_]*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|&quot;[a-zA-Z_]*&quot;)|'[a-zA-Z_]*'|\])*)*\}">
0007 ]>
0008 <language name="Velocity" version="5" kateversion="5.0" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src" author="John Christopher (John@animalsinneed.net)" license="">
0009         <highlighting>
0010                 <list name="keywords">
0011                         <item>#set</item>
0012                         <item>#foreach</item>
0013                         <item>#end</item>
0014                         <item>#if</item>
0015                         <item>#else</item>
0016                         <item>#elseif</item>
0017                         <item>#parse</item>
0018                         <item>#macro</item>
0019                         <item>#stop</item>
0020                         <item>#include</item>
0021                 </list>
0022                 <contexts>
0023                         <context attribute="Normal Text" lineEndContext="#stay" name="Keyword">
0024                                 <keyword attribute="Keyword" context="#stay" String="keywords" />
0025                                 <RegExpr attribute="Variable" context="#stay" String="&variable1;|&variable2;|&variable3;|&variable4;" />
0026                                 <RegExpr attribute="Properties" context="#stay" String="[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\-]*(\[[a-zA-Z0-9_]*\])*\.[a-zA-Z0-9_\x7f-\xff\-]*" />
0027                                 <AnyChar attribute="Other" context="#stay" String="(),[]" />
0028                                 <Detect2Chars attribute="Comment" context="singleline comment" char="#" char1="#" />
0029                                 <Detect2Chars attribute="Comment" context="multilinecomment" char="#" char1="&#42;" beginRegion="BlockComment" />
0030                         </context>
0031                         <context attribute="Comment" name="singleline comment" lineEndContext="#pop">
0032                                 <DetectSpaces />
0033                                 <IncludeRules context="##Comments" />
0034                         </context>
0035                         <context attribute="Comment" lineEndContext="#stay" name="multilinecomment" >
0036                                 <DetectSpaces />
0037                                 <Detect2Chars attribute="Comment" context="#pop" char="*" char1="#" endRegion="BlockComment" />
0038                                 <IncludeRules context="##Comments" />
0039                         </context>
0040                 </contexts>
0041                 <itemDatas>
0042                         <itemData name="Normal Text" defStyleNum="dsNormal" />
0043                         <itemData name="Keyword" defStyleNum="dsKeyword" />
0044                         <itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" />
0045                         <itemData name="Other" defStyleNum="dsOthers" />
0046                         <itemData name="Properties" defStyleNum="dsNormal" color="#8AC6FF" selColor="#ffffff" bold="0" italic="1"/>
0047                         <itemData name="Comment" defStyleNum="dsComment" />
0048                 </itemDatas>
0049         </highlighting>
0050         <general>
0051                 <comments>
0052                         <comment name="singleLine" start="##" />
0053                         <comment name="multiLine" start="#*" end="*#" region="BlockComment" />
0054                 </comments>
0055                 <keywords casesensitive="1" weakDeliminator="+"/>
0056         </general>
0057 </language>
0058 <!-- kate: replace-tabs off; -->