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
2.5 KiB
XML
1 line
No EOL
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="LaTeX Log File" version="1" section="Markup" kateversion="5.62" extensions="*.log" priority="-20" author="Thomas Braun ([email protected])" license="MIT"><highlighting><contexts><context name="Normal Text" attribute="Normal Text"><RegExpr String="Package:? " attribute="Normal Text" context="Package" firstNonSpace="1"/><StringDetect String="LaTeX " context="Information Type" firstNonSpace="1" lookAhead="1"/><IncludeRules context="File Name Start"/><RegExpr String="^\)+" attribute="File Names" endRegion="FileOutput" column="0"/><RegExpr String="\\[_a-zA-Z@][_a-zA-Z0-9@]+" attribute="Keyword"/><DetectChar char="!" attribute="Error" context="Error Message" firstNonSpace="1"/><StringDetect String="Underfull \hbox" context="Warning Message" firstNonSpace="1"/><StringDetect String="Overfull \hbox" context="Warning Message" firstNonSpace="1"/></context><context name="Warning Message" attribute="Warning"><RegExpr String="[^(]" context="#pop" firstNonSpace="1" lookAhead="1"/><IncludeRules context="File Name Start"/><RegExpr String="[^(]+"/></context><context name="Error Message" attribute="Error"><IncludeRules context="Warning Message"/></context><context name="File Name Start" attribute="File Names" lineEndContext="#pop"><RegExpr String='\(([/.]|"?[CDE]:)' context="File Names" beginRegion="FileOutput"/></context><context name="Information Type" attribute="Normal Text" lineEndContext="#pop"><RegExpr String="(LaTeX)?\s*(Font)?\s*Info:?" attribute="Info" context="#pop!Info Message"/><RegExpr String="(LaTeX)?\s*Warning:?" attribute="Warning" context="#pop!Warning Message"/><RegExpr String="(LaTeX)?\s*Error:?" attribute="Error" context="#pop!Error Message"/></context><context name="File Names" attribute="File Names" lineEndContext="#pop"/><context name="Info Message" attribute="Info"><IncludeRules context="Warning Message"/></context><context name="Package" attribute="Package" lineEndContext="#pop"><DetectIdentifier/><DetectChar char=" " context="#pop!Information Type"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Info" defStyleNum="dsDataType"/><itemData name="Warning" defStyleNum="dsInformation"/><itemData name="Error" defStyleNum="dsError"/><itemData name="File Names" defStyleNum="dsNormal" bold="1"/><itemData name="Package" defStyleNum="dsImport"/><itemData name="Keyword" defStyleNum="dsVerbatimString"/></itemDatas></highlighting><general><keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/></general></language> |