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
1.8 KiB
XML
1 line
No EOL
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Java Properties" version="6" kateversion="5.62" section="Other" extensions="*.properties" author="Matthias Böhm (MatthiasBoehm87 _at_ gmail.com)" license="MIT"><highlighting><contexts><context name="key" attribute="Key"><LineContinue char="=" attribute="Separator" column="0"/><LineContinue char=":" attribute="Separator" column="0"/><AnyChar String="=:" attribute="Separator" context="value" column="0"/><AnyChar String="#!" attribute="Comment" context="comment" firstNonSpace="1"/><RegExpr String="(?:[^=:\s\\]|\\.)*\s*(?==|:)" attribute="Key" context="separator"/><RegExpr String="(?:[^=:\s\\]|\\.)+\s+(?=\S)" attribute="Key" context="value"/></context><context name="value" attribute="Value"><RegExpr String="(?:[^\\]|\\.)*$" attribute="Value" context="#pop!continueWithKey"/><RegExpr String="(?:[^\\]|\\.)*\\$" attribute="Value" context="#pop!continueWithValue"/></context><context name="comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="continueWithKey" attribute="Key" lineEndContext="#pop"/><context name="continueWithValue" attribute="Value" lineEndContext="#pop!value"/><context name="separator" attribute="Key" lineEndContext="#pop"><LineContinue char="=" attribute="Separator" context="#pop"/><LineContinue char=":" attribute="Separator" context="#pop"/><AnyChar String="=:" attribute="Separator" context="#pop!value"/></context></contexts><itemDatas><itemData name="Key" spellChecking="0" defStyleNum="dsOthers"/><itemData name="Value" spellChecking="0" defStyleNum="dsString"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Separator" spellChecking="0" defStyleNum="dsVariable"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language> |