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.9 KiB
XML
1 line
No EOL
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="ABC" version="8" kateversion="5.62" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" author="Andrea Primiani ([email protected])" license="LGPL"><highlighting><contexts><context name="Normal" attribute="Normal Text"><RegExpr String="\([23456789]:?[23456789]?:?[23456789]?" attribute="Tuplet"/><RangeDetect char1='"' char='"' attribute="String"/><RangeDetect char1="!" char="!" attribute="Decoration"/><RegExpr String="\[[ABCGHILMNOQRSTUVZ]:" attribute="Header" context="Header"/><RegExpr String="[ABCGHILMNOPQRSTUVZ]:" attribute="Header" context="Header2"/><StringDetect String="X:" attribute="Header" context="Header" beginRegion="header" column="0"/><AnyChar String="|:[" attribute="Bar" context="Bar"/><DetectChar char="]" attribute="Bar"/><AnyChar String="(){}" attribute="Slur"/><StringDetect String="W:" attribute="Lyrics" context="Lyrics"/><StringDetect String="w:" attribute="Lyrics" context="Lyrics"/><StringDetect String="%%" attribute="Preprocessor" context="Preprocessor"/><DetectChar char="%" attribute="Comment" context="Comment"/><RegExpr String="[_|\^]?[_|=|\^][A-Ga-g]" attribute="Sharp"/></context><context name="Header" attribute="Header"><RegExpr String="^K:.+" attribute="Header" context="#pop" endRegion="header" column="0"/><DetectChar char="]" attribute="Header" context="#pop"/></context><context name="Lyrics" attribute="Lyrics" lineEndContext="#pop"/><context name="Bar" attribute="Bar" lineEndContext="#pop"><DetectChar char='"' attribute="Normal Text" context="#pop"/><RegExpr String="[A-Ga-gZz]" attribute="Normal Text" context="#pop"/><DetectChar char=" " attribute="Normal Text" context="#pop"/><RangeDetect char1="!" char="!" attribute="Decoration"/><AnyChar String="()" attribute="Slur"/><RegExpr String=":*\|*[1-9]|/*\|" attribute="Bar" context="#pop"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><IncludeRules context="##Comments"/></context><context name="Header2" attribute="Header" lineEndContext="#pop"/><context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Decoration" defStyleNum="dsFloat" color="#00bbaa"/><itemData name="String" defStyleNum="dsString" bold="1"/><itemData name="Preprocessor" defStyleNum="dsString" italic="1"/><itemData name="Header" defStyleNum="dsFloat"/><itemData name="Slur" defStyleNum="dsDataType" bold="1"/><itemData name="Tuplet" defStyleNum="dsDataType" color="#bb00bb"/><itemData name="Lyrics" defStyleNum="dsDataType" color="#00bb00"/><itemData name="Bar" defStyleNum="dsChar" color="#0000ff"/><itemData name="Sharp" defStyleNum="dsNormal" color="#22bb66" bold="1"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="%" position="afterwhitespace"/></comments><keywords casesensitive="1"/></general></language> |