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.7 KiB
XML
1 line
No EOL
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="SGML" version="5" kateversion="5.62" section="Markup" extensions="*.sgml" mimetype="text/sgml"><highlighting><contexts><context name="Normal Text" attribute="Normal Text"><StringDetect String="<!--" attribute="Comment" context="Comment" beginRegion="Comment"/><RegExpr String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" attribute="Tag" context="Attribute"/></context><context name="Attribute" attribute="Attribute Name"><StringDetect String="/>" attribute="Tag" context="#pop"/><DetectChar char=">" attribute="Tag" context="#pop"/><RegExpr String="\s*=\s*" attribute="Normal Text" context="Value"/></context><context name="Comment" attribute="Comment"><DetectSpaces/><StringDetect String="-->" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/></context><context name="Value" attribute="Attribute Value"><StringDetect String="/>" attribute="Tag" context="#pop#pop"/><DetectChar char=">" attribute="Tag" context="#pop#pop"/><DetectChar char='"' attribute="Attribute Value" context="Value 2"/></context><context name="Value 2" attribute="Attribute Value"><DetectChar char='"' attribute="Attribute Value" context="#pop#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Tag" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Attribute Name" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Attribute Value" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="<!--" end="-->" region="Comment"/></comments><keywords casesensitive="0"/></general></language> |