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
5.5 KiB
XML
1 line
No EOL
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="DTD" version="5" kateversion="5.62" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk ([email protected])" license="LGPL"><highlighting><list name="Category"><item>ANY</item><item>CDATA</item><item>EMPTY</item><item>ENTITIES</item><item>ENTITY</item><item>ID</item><item>IDREF</item><item>IDREFS</item><item>NDATA</item><item>NMTOKEN</item><item>NMTOKENS</item><item>NOTATION</item><item>PUBLIC</item><item>SYSTEM</item></list><list name="Keywords"><item>#FIXED</item><item>#IMPLIED</item><item>#PCDATA</item><item>#REQUIRED</item></list><contexts><context name="Normal" attribute="Normal"><DetectSpaces/><StringDetect String="<!--" attribute="Comment" context="Comment" beginRegion="comment"/><StringDetect String="<?xml" attribute="Processing Instruction" context="PI" beginRegion="pi"/><StringDetect String="<!ELEMENT" attribute="Declaration" context="Declaration" beginRegion="declaration"/><StringDetect String="<!ATTLIST" attribute="Declaration" context="Declaration" beginRegion="declaration"/><StringDetect String="<!NOTATION" attribute="Declaration" context="Declaration" beginRegion="declaration"/><StringDetect String="<!ENTITY" attribute="Declaration" context="Declaration" beginRegion="declaration"/><RegExpr String="%[-\w.:]+;" attribute="Entity"/><StringDetect String="<![" attribute="Conditional Section" context="conditionalSect" beginRegion="section"/><DetectIdentifier/></context><context name="Declaration" attribute="Normal"><DetectSpaces/><StringDetect String="<!--" attribute="Comment" context="Comment" beginRegion="comment"/><DetectChar char=">" attribute="Declaration" context="#pop" endRegion="declaration"/><DetectChar char='"' attribute="String" context="StringDQ"/><DetectChar char="'" attribute="String" context="StringSQ"/><StringDetect String="--" attribute="Comment" context="InlineComment"/><RegExpr String="[-O]\s[-O]" attribute="Declaration"/><AnyChar String="(|)," attribute="Delimiter"/><AnyChar String="?*+-&" attribute="Symbol"/><IncludeRules context="FindReference"/><StringDetect String="% " attribute="Local"/><StringDetect String="%	" attribute="Local"/><keyword String="Category" attribute="Keyword"/><keyword String="Keywords" attribute="Keyword"/><RegExpr String="\b[-\w.:]+\b" attribute="Name"/></context><context name="conditionalContraint" attribute="Conditional Section" fallthroughContext="#pop#pop"><DetectSpaces/><DetectChar char="[" attribute="Conditional Section" context="section"/></context><context name="Comment" attribute="Comment"><DetectSpaces/><StringDetect String="--" context="EndComment" lookAhead="1"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="FindReference" attribute="String"><RegExpr String="&(#[0-9]+|#[xX][0-9A-Fa-f]+|[-\w.:]+);|%[-\w.:]+;" attribute="Entity"/></context><context name="InString" attribute="String"><DetectSpaces/><DetectIdentifier/><IncludeRules context="FindReference"/></context><context name="EndComment" attribute="Comment" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="-->" attribute="Comment" context="#pop#pop" endRegion="comment"/><DetectChar char="-" attribute="Error"/></context><context name="InlineComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><StringDetect String="--" attribute="Comment" context="#pop"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="PI" attribute="Other"><StringDetect String="?>" attribute="Processing Instruction" context="#pop" endRegion="pi"/></context><context name="StringDQ" attribute="String"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="InString"/></context><context name="StringSQ" attribute="String"><DetectChar char="'" attribute="String" context="#pop"/><IncludeRules context="InString"/></context><context name="conditionalSect" attribute="Conditional Section" fallthroughContext="#pop"><DetectSpaces/><WordDetect String="INCLUDE" attribute="Conditional Section" context="conditionalContraint"/><WordDetect String="IGNORE" attribute="Conditional Section" context="conditionalContraint"/><RegExpr String="%[-\w.:]+;" attribute="Entity" context="conditionalContraint"/></context><context name="section" attribute="Normal"><StringDetect String="]]>" attribute="Conditional Section" context="#pop#pop#pop" endRegion="section"/><IncludeRules context="Normal"/></context></contexts><itemDatas><itemData name="Normal" defStyleNum="dsNormal"/><itemData name="Other" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Declaration" defStyleNum="dsDataType" bold="1" spellChecking="0"/><itemData name="Name" defStyleNum="dsFunction" spellChecking="0"/><itemData name="Delimiter" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Symbol" defStyleNum="dsFloat" bold="1" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="String" defStyleNum="dsString" spellChecking="0"/><itemData name="Entity" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Local" defStyleNum="dsDecVal" bold="1" spellChecking="0"/><itemData name="Conditional Section" defStyleNum="dsControlFlow" spellChecking="0"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="<!--" end="-->" region="comment"/></comments></general></language> |