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

0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <!DOCTYPE language>
0003 <language name="noweb" version="5" kateversion="5.79" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)">
0004 <!-- 
0005 #########################################################################
0006 # First version added to repository was 0.4, added as 1.0 .
0007 #
0008 # Article about this highlighter:
0009 #   http://scottcollins.net/articles/Kate.html
0010 # 
0011 # Indirect source file:
0012 #   http://scottcollins.net/articles/Kate.w
0013 # 
0014 # Command used for extraction:
0015 #   $ notangle Kate.w -R"noweb.xml" > syntax/data/noweb.xml
0016 #########################################################################
0017 -->
0018   <highlighting>
0019     <contexts>
0020       <context name="RawDocumentation" attribute="Prose" lineEndContext="#stay">
0021         <RegExpr String="^&lt;&lt;.*&gt;&gt;=$" attribute="SectionName" context="CodeSection" beginRegion="CodeSection" column="0" />
0022         <Detect2Chars char="@" char1="[" context="#stay" />
0023         <Detect2Chars char="[" char1="[" attribute="Punctuation" context="CodeQuote" />
0024         <IncludeRules context="##HTML" includeAttrib="true" />
0025       </context>
0026       <context name="CodeQuote" attribute="Code" lineEndContext="#stay">
0027         <Detect2Chars char="@" char1="]" context="#stay" />
0028         <RegExpr String="\]\](?!\])" minimal="true" attribute="Punctuation" context="#pop" />
0029         <IncludeRules context="SectionNames" />
0030         <IncludeRules context="##C++" includeAttrib="true" />
0031       </context>
0032       <context name="CodeSection" attribute="Code" lineEndContext="#stay">
0033         <RegExpr String="^@$|^@(?=[\s%])" attribute="Punctuation" context="RawDocumentation" endRegion="CodeSection" column="0" />
0034         <RegExpr String="^&lt;&lt;.*&gt;&gt;=$" context="RawDocumentation" lookAhead="true" endRegion="CodeSection" column="0" />
0035         <IncludeRules context="SectionNames" />
0036         <IncludeRules context="##C++" includeAttrib="true" />
0037       </context>
0038       <context name="SectionNames" attribute="Prose" lineEndContext="#stay">
0039         <StringDetect String="@&lt;&lt;" context="#stay" />
0040         <RegExpr String="&lt;&lt;.*[^@]&gt;&gt;(?!=)" minimal="true" attribute="SectionName" />
0041       </context>
0042     </contexts>
0043     <itemDatas>
0044       <itemData name="Prose"        defStyleNum="dsNormal" />
0045       <itemData name="Code"         defStyleNum="dsNormal" />
0046       <itemData name="Punctuation"  defStyleNum="dsRegionMarker" bold="true" />
0047       <itemData name="SectionName"  defStyleNum="dsRegionMarker" italic="true" />
0048     </itemDatas>
0049   </highlighting>
0050   <general>
0051     <comments>
0052       <comment name="multiLine" start="&lt;!--" end="--&gt;" />
0053     </comments>
0054   </general>
0055 </language>
0056