Highlighting relied on the syntax-highlighting package, so removing it left every file uncoloured. The 462 definitions now live in assets/syntax and are compressed into the binary at build time, unpacked per language when used. User .xml files still add to or replace them, and the licence each file declares is recorded in assets/syntax/LICENSES.md. Also moves files to the trash without needing gio. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 line
No EOL
2.8 KiB
XML
1 line
No EOL
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Adblock Plus" version="2" kateversion="5.62" section="Configuration" author="Volker Krause ([email protected])" extensions="" license="MIT"><highlighting><list name="special-comment-list"><item>Checksum</item><item>Expires</item><item>Homepage</item><item>Redirect</item><item>Title</item><item>Version</item></list><list name="filter-option-list"><item>collapse</item><item>document</item><item>domain</item><item>donottrack</item><item>elemhide</item><item>genericblock</item><item>generichide</item><item>image</item><item>match-case</item><item>object</item><item>object-subrequest</item><item>other</item><item>ping</item><item>popup</item><item>script</item><item>sitekey</item><item>stylesheet</item><item>subdocument</item><item>third-party</item><item>webrtc</item><item>websocket</item><item>xmlhttprequest</item></list><contexts><context name="rule-context" attribute="Normal Text"><DetectChar char="!" attribute="Comment" context="comment-context" column="0"/><DetectChar char="[" attribute="Header" context="header-context" column="0"/><StringDetect String="@@" attribute="Exception Rule" context="exception-context" column="0"/><DetectChar char="$" attribute="Filter Option" context="option-context"/><StringDetect String="##" attribute="Element Hiding Rule" context="element-hiding-context"/><StringDetect String="#@#" attribute="Element Hiding Rule" context="element-hiding-context"/></context><context name="element-hiding-context" attribute="Element Hiding Rule" lineEndContext="#pop"/><context name="option-context" attribute="Normal Text" lineEndContext="#pop"><keyword String="filter-option-list" attribute="Filter Option"/></context><context name="comment-context" attribute="Comment" lineEndContext="#pop"><keyword String="special-comment-list" attribute="Special Comment"/></context><context name="exception-context" attribute="Exception Rule" lineEndContext="#pop"><DetectChar char="$" attribute="Filter Option" context="#pop!option-context"/></context><context name="header-context" attribute="Header" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Special Comment" defStyleNum="dsCommentVar" spellChecking="0"/><itemData name="Header" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Exception Rule" defStyleNum="dsVariable" spellChecking="0"/><itemData name="Filter Option" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Element Hiding Rule" defStyleNum="dsString" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="!"/></comments><keywords casesensitive="1" weakDeliminator="-" additionalDeliminator="$"/></general></language> |