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

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language>
0003 <!-- See https://adblockplus.org/en/filters -->
0004 <language
0005     name="Adblock Plus"
0006     version="2"
0007     kateversion="5.0"
0008     section="Configuration"
0009     author="Volker Krause (vkrause@kde.org)"
0010     extensions=""
0011     license="MIT">
0012     <highlighting>
0013         <list name="special-comment-list">
0014             <item>Homepage</item>
0015             <item>Title</item>
0016             <item>Expires</item>
0017             <item>Checksum</item>
0018             <item>Redirect</item>
0019             <item>Version</item>
0020         </list>
0021         <list name="filter-option-list">
0022             <item>script</item>
0023             <item>image</item>
0024             <item>stylesheet</item>
0025             <item>object</item>
0026             <item>xmlhttprequest</item>
0027             <item>object-subrequest</item>
0028             <item>subdocument</item>
0029             <item>ping</item>
0030             <item>websocket</item>
0031             <item>webrtc</item>
0032             <item>document</item>
0033             <item>elemhide</item>
0034             <item>generichide</item>
0035             <item>genericblock</item>
0036             <item>popup</item>
0037             <item>other</item>
0038             <item>third-party</item>
0039             <item>domain</item>
0040             <item>sitekey</item>
0041             <item>match-case</item>
0042             <item>collapse</item>
0043             <item>donottrack</item>
0044         </list>
0045 
0046         <contexts>
0047             <context name="rule-context" attribute="Normal Text" lineEndContext="#stay">
0048                 <DetectChar char="!" column="0" context="comment-context" attribute="Comment"/>
0049                 <DetectChar char="[" column="0" context="header-context" attribute="Header"/>
0050                 <Detect2Chars char="@" char1="@" column="0" context="exception-context" attribute="Exception Rule"/>
0051                 <DetectChar char="$" context="option-context" attribute="Filter Option"/>
0052                 <Detect2Chars char="#" char1="#" context="element-hiding-context" attribute="Element Hiding Rule"/>
0053                 <StringDetect String="#@#" context="element-hiding-context" attribute="Element Hiding Rule"/>
0054             </context>
0055 
0056             <context name="comment-context" attribute="Comment" lineEndContext="#pop">
0057                 <keyword String="special-comment-list" attribute="Special Comment"/>
0058             </context>
0059 
0060             <context name="header-context" attribute="Header" lineEndContext="#pop"/>
0061 
0062             <context name="exception-context" attribute="Exception Rule" lineEndContext="#pop">
0063                 <DetectChar char="$" context="#pop!option-context" attribute="Filter Option"/>
0064             </context>
0065 
0066             <context name="option-context" attribute="Normal Text" lineEndContext="#pop">
0067                 <keyword String="filter-option-list" attribute="Filter Option"/>
0068             </context>
0069 
0070             <context name="element-hiding-context" attribute="Element Hiding Rule" lineEndContext="#pop"/>
0071         </contexts>
0072 
0073         <itemDatas>
0074             <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
0075             <itemData name="Comment" defStyleNum="dsComment"/>
0076             <itemData name="Special Comment" defStyleNum="dsCommentVar" spellChecking="false"/>
0077             <itemData name="Header" defStyleNum="dsKeyword" spellChecking="false"/>
0078             <itemData name="Exception Rule" defStyleNum="dsVariable" spellChecking="false"/>
0079             <itemData name="Filter Option" defStyleNum="dsFunction" spellChecking="false"/>
0080             <itemData name="Element Hiding Rule" defStyleNum="dsString" spellChecking="false"/>
0081         </itemDatas>
0082     </highlighting>
0083 
0084     <general>
0085         <comments>
0086             <comment name="singleLine" start="!"/>
0087         </comments>
0088         <keywords casesensitive="1" weakDeliminator="-" additionalDeliminator="$"/>
0089     </general>
0090 </language>
0091 <!-- kate: replace-tabs on; tab-width 4; indent-width 4; -->