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.9 KiB
XML
1 line
No EOL
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="GDB Backtrace" section="Other" version="3" kateversion="5.62" extensions="*.kcrash;*.crash;*.bt" mimetype="" author="Milian Wolff ([email protected])" license="LGPL"><highlighting><contexts><context name="apache" attribute="Normal"><DetectChar char="#" context="stackframe" firstNonSpace="1"/><IncludeRules context="oneliners"/></context><context name="file" attribute="File" lineEndContext="#pop#pop"><DetectChar char=":" attribute="Normal" context="#pop#pop"/></context><context name="oneliners" attribute="Normal" lineEndContext="#pop"><StringDetect String="[KCrash Handler]" attribute="Crash"/><StringDetect String="Thread" context="thread" firstNonSpace="1"/><StringDetect String="[Current thread" context="thread" firstNonSpace="1"/></context><context name="thread" attribute="Thread" lineEndContext="#pop"/><context name="identifier" attribute="Normal"><StringDetect String="%1" attribute="QualifiedIdentifier" dynamic="1"/><StringDetect String="%2" attribute="Function" dynamic="1"/><RegExpr String="\b0x0\b" attribute="Crash"/><DetectChar char=")" context="#pop"/></context><context name="stackframe" attribute="Normal"><RegExpr String="((?:[^ ]|<.+>)+::)?([^ :]+)\s*\(" attribute="Normal" context="identifier" lookAhead="1"/><StringDetect String="at" attribute="Normal" context="file"/><StringDetect String="from" attribute="Normal" context="file"/><IncludeRules context="oneliners"/></context></contexts><itemDatas><itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Crash" defStyleNum="dsError" spellChecking="0" underline="0" bold="1"/><itemData name="QualifiedIdentifier" defStyleNum="dsOthers" spellChecking="0"/><itemData name="Function" defStyleNum="dsFunction" spellChecking="0" bold="1"/><itemData name="File" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Thread" defStyleNum="dsBaseN" spellChecking="0"/></itemDatas></highlighting></language> |