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
9.2 KiB
XML
1 line
No EOL
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Logcat" version="9" kateversion="5.62" section="Other" extensions="*.logcat" mimetype="text/x-logcat" priority="5" author="Nibaldo González ([email protected])" license="MIT"><highlighting><contexts><context name="Normal" attribute="Normal Text"><DetectChar char="#" attribute="Comment" context="CommentLine" firstNonSpace="1"/><StringDetect String="---------" attribute="Comment" context="CommentLine" firstNonSpace="1"/><RegExpr String="^\*\s.+\s\*$" attribute="Comment" column="0"/><RegExpr String="(?:(?:.\[)?(?:\d{1,2};){2}\d{1,3}m\s*)?(?:(?:\d{4}\-)?\d{2}\-\d{2}\s\d{2}(?:\:\d{2}){2}\.\d{3,6}(?:\s[\-\+]\d{4})?|\d+\.\d{3,6})\:?" attribute="DateTime" firstNonSpace="1"/><RegExpr String="(?:^|\s)[V\?](?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Verbose Tag" context="VerboseMsg"/><RegExpr String="(?:^|\s)D(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Debug Tag" context="DebugMsg"/><RegExpr String="(?:^|\s)I(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Info Tag" context="InfoMsg"/><RegExpr String="(?:^|\s)W(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Warning Tag" context="WarningMsg"/><RegExpr String="(?:^|\s)A(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Assert Tag" context="AssertMsg"/><RegExpr String="(?:^|\s)S(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Silent Tag" context="SilentMsg"/><RegExpr String="(?:^|\s)E(?:(?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)|(?=[/\(\s]))" attribute="Error Tag" context="ErrorMsg"/><RegExpr String="\sF[/\(\s].*\033\[\d{1,3}m$" attribute="Error Tag"/><RegExpr String="^F[/\(\s]" attribute="Fatal" context="FatalMsg" column="0"/><RegExpr String="\s(?=F[/\(\s])" attribute="Normal Text" context="FatalMsg"/><DetectChar char="[" attribute="Normal Text" context="LongLog" column="0"/></context><context name="EmptyLine" attribute="Normal Text" fallthroughContext="#pop"><DetectChar char="#" attribute="Comment" context="#pop#pop!CommentLine" firstNonSpace="1"/><RegExpr String="^\[(?=\s.+\s\]$)" attribute="Normal Text" context="#pop#pop!LongLog" column="0"/><RegExpr String="(?:(?:.\[)?(?:\d{1,2};){2}\d{1,3}m\s*)?(?:(?:\d{4}\-)?\d{2}\-\d{2}\s\d{2}(?:\:\d{2}){2}\.\d{3,6}(?:\s[\-\+]\d{4})?|\d+\.\d{3,6})\:?" attribute="DateTime" context="#pop#pop" firstNonSpace="1"/><RegExpr String="^\s*[VDIWASEF\?](?:[/\s][^:\(]*(?:\([^\)]+\))?:|\([^\)]+\):?)" attribute="Normal Text" context="#pop#pop" column="0" minimal="1" lookAhead="1"/><DetectSpaces/></context><context name="DefaultLongLogMsg" attribute="Normal Text" lineEmptyContext="EmptyLine"><StringDetect String="---------" attribute="Comment" context="#pop!CommentLine" firstNonSpace="1"/><RegExpr String="^\*\s.+\s\*$" attribute="Comment" context="#pop" column="0"/><RegExpr String="^\[(?=\s+(?:(?:.\[)?(?:\d{1,2};){2}\d{1,3}m\s*)?(?:(?:\d{4}\-)?\d{2}\-\d{2}\s\d{2}(?:\:\d{2}){2}\.\d{3,6}(?:\s[\-\+]\d{4})?|\d+\.\d{3,6})\:?\s.+\s\]$)" attribute="Normal Text" context="#pop!LongLog" column="0"/><RegExpr String="^\s*$" attribute="Normal Text" context="EmptyLine" column="0"/></context><context name="CommentLine" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="LongLog" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><RegExpr String="\s+(?:(?:.\[)?(?:\d{1,2};){2}\d{1,3}m\s*)?(?:(?:\d{4}\-)?\d{2}\-\d{2}\s\d{2}(?:\:\d{2}){2}\.\d{3,6}(?:\s[\-\+]\d{4})?|\d+\.\d{3,6})\:?(?=\s.+\s\]$)" attribute="DateTime" context="#pop!LongLogTag"/></context><context name="FatalMsg" attribute="Fatal" lineEndContext="#pop"/><context name="AssertMsg" attribute="Assert Message" lineEndContext="#pop"/><context name="DebugMsg" attribute="Debug Message" lineEndContext="#pop"/><context name="ErrorMsg" attribute="Error Message" lineEndContext="#pop"/><context name="InfoMsg" attribute="Info Message" lineEndContext="#pop"/><context name="LongLogAssert" attribute="Assert Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogAssertMsg"/></context><context name="LongLogAssertMsg" attribute="Assert Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogDebug" attribute="Debug Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogDebugMsg"/></context><context name="LongLogDebugMsg" attribute="Debug Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogError" attribute="Error Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogErrorMsg"/></context><context name="LongLogErrorMsg" attribute="Error Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogFatal" attribute="Fatal" lineEndContext="#pop"><RegExpr String="\s*\]$" attribute="Normal Text" context="#pop!LongLogFatalMsg"/></context><context name="LongLogFatalMsg" attribute="Fatal" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogInfo" attribute="Info Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogInfoMsg"/></context><context name="LongLogInfoMsg" attribute="Info Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogSilent" attribute="Silent Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogSilentMsg"/></context><context name="LongLogSilentMsg" attribute="Silent Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogTag" attribute="Normal Text" lineEndContext="#pop"><RegExpr String="\s[V\?][/\(\s]" attribute="Verbose Tag" context="#pop!LongLogVerbose"/><RegExpr String="\sD[/\(\s]" attribute="Debug Tag" context="#pop!LongLogDebug"/><RegExpr String="\sI[/\(\s]" attribute="Info Tag" context="#pop!LongLogInfo"/><RegExpr String="\sW[/\(\s]" attribute="Warning Tag" context="#pop!LongLogWarning"/><RegExpr String="\sA[/\(\s]" attribute="Assert Tag" context="#pop!LongLogAssert"/><RegExpr String="\sS[/\(\s]" attribute="Silent Tag" context="#pop!LongLogSilent"/><RegExpr String="\sE[/\(\s]" attribute="Error Tag" context="#pop!LongLogError"/><RegExpr String="\s(?=F[/\(\s])" attribute="Normal Text" context="#pop!LongLogFatal"/></context><context name="LongLogVerbose" attribute="Verbose Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogVerboseMsg"/></context><context name="LongLogVerboseMsg" attribute="Verbose Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="LongLogWarning" attribute="Warning Tag" lineEndContext="#pop"><LineContinue char="]" attribute="Normal Text" context="#pop!LongLogWarningMsg"/></context><context name="LongLogWarningMsg" attribute="Warning Message" lineEmptyContext="EmptyLine"><IncludeRules context="DefaultLongLogMsg"/></context><context name="SilentMsg" attribute="Silent Message" lineEndContext="#pop"/><context name="VerboseMsg" attribute="Verbose Message" lineEndContext="#pop"/><context name="WarningMsg" attribute="Warning Message" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment" italic="1"/><itemData name="DateTime" defStyleNum="dsComment" italic="0" underline="0" spellChecking="0"/><itemData name="Verbose Tag" defStyleNum="dsNormal" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Verbose Message" defStyleNum="dsNormal" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Debug Tag" defStyleNum="dsAttribute" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Debug Message" defStyleNum="dsAttribute" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Info Tag" defStyleNum="dsPreprocessor" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Info Message" defStyleNum="dsPreprocessor" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Warning Tag" defStyleNum="dsInformation" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Warning Message" defStyleNum="dsInformation" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Assert Tag" defStyleNum="dsChar" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Assert Message" defStyleNum="dsChar" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Silent Tag" defStyleNum="dsBuiltIn" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Silent Message" defStyleNum="dsBuiltIn" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Error Tag" defStyleNum="dsError" bold="1" italic="0" underline="0" strikeOut="0"/><itemData name="Error Message" defStyleNum="dsError" bold="0" italic="0" underline="0" strikeOut="0"/><itemData name="Fatal" defStyleNum="dsAlert" bold="1" italic="0" underline="0" strikeOut="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments><emptyLines><emptyLine regexpr="\s+"/></emptyLines></general></language> |