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="PostScript Printer Description" version="4" kateversion="5.62" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="Public Domain"><highlighting><contexts><context name="contextNormal" attribute="Option"><StringDetect String="*%" context="contextComment" column="0"/><DetectChar char=":" attribute="Colon" context="contextValue"/><StringDetect String="*OpenUI" attribute="Keyword" beginRegion="ui"/><StringDetect String="*CloseUI" attribute="Keyword" endRegion="ui"/><StringDetect String="*OpenGroup" attribute="Keyword" beginRegion="group"/><StringDetect String="*CloseGroup" attribute="Keyword" endRegion="group"/><RegExpr String="\*[!-.0-9;-~]*" attribute="Keyword"/></context><context name="contextComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="contextValue" attribute="Value" lineEndContext="#pop"><DetectSpaces/><DetectChar char='"' attribute="Value" context="contextValueMultiLine"/><RegExpr String="." attribute="Value" context="contextValueSingleLine"/></context><context name="contextValueMultiLine" attribute="Value"><DetectSpaces/><DetectChar char='"' attribute="Value" context="#pop"/></context><context name="contextValueSingleLine" attribute="Value" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Colon" defStyleNum="dsKeyword"/><itemData name="Value" defStyleNum="dsString"/><itemData name="Option" defStyleNum="dsOthers"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="*%"/></comments></general></language> |