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.7 KiB
XML
1 line
No EOL
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="TADS 3" section="Sources" version="7" kateversion="5.62" indenter="cstyle" extensions="*.t;*.h" mimetype="" priority="0" author="Nikos Chantziaras ([email protected])"><highlighting><list name="keywords"><item>abort</item><item>and</item><item>argcount</item><item>break</item><item>case</item><item>catch</item><item>class</item><item>construct</item><item>continue</item><item>default</item><item>definingobj</item><item>delegated</item><item>dictionary</item><item>do</item><item>else</item><item>enum</item><item>exit</item><item>export</item><item>extern</item><item>finalize</item><item>finally</item><item>for</item><item>foreach</item><item>function</item><item>goto</item><item>grammar</item><item>if</item><item>in</item><item>inherited</item><item>intrinsic</item><item>is</item><item>local</item><item>modify</item><item>new</item><item>nil</item><item>not</item><item>object</item><item>or</item><item>property</item><item>propertyset</item><item>replace</item><item>replaced</item><item>return</item><item>self</item><item>static</item><item>switch</item><item>targetobj</item><item>targetprop</item><item>template</item><item>throw</item><item>token</item><item>transient</item><item>true</item><item>try</item><item>while</item></list><contexts><context name="Normal" attribute="Normal Text"><keyword String="keywords" attribute="Keyword"/><HlCOct attribute="Octal"/><HlCHex attribute="Hex"/><Int attribute="Decimal"/><DetectChar char='"' attribute="String" context="String"/><DetectChar char="'" attribute="ValString" context="ValString"/><StringDetect String="//" attribute="Comment" context="ShortComment"/><StringDetect String="/*" attribute="Comment" context="LongComment" beginRegion="Comment"/><DetectChar char="{" attribute="Normal Text" beginRegion="Brace1"/><DetectChar char="}" attribute="Normal Text" endRegion="Brace1"/><AnyChar String="!%&()+,-<=>?[]^{|}~" attribute="Symbol"/><DetectChar char="#" attribute="Preprocessor" context="Preprocessor"/></context><context name="ShortComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="htmltag" attribute="HTML Tag"><StringDetect String="/>" attribute="HTML Tag" context="#pop"/><DetectChar char=">" attribute="HTML Tag" context="#pop"/></context><context name="LongComment" attribute="Comment"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/></context><context name="LongComment/Preprocessor" attribute="Comment"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop"/><IncludeRules context="##Comments"/></context><context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"><LineContinue attribute="Preprocessor"/><RangeDetect char1='"' char='"' attribute="String"/><RangeDetect char1=">" char="<" attribute="String"/><StringDetect String="//" attribute="Comment" context="ShortComment"/><StringDetect String="/*" attribute="Comment" context="LongComment/Preprocessor"/></context><context name="String" attribute="String"><StringDetect String='\"' attribute="Backslash Code"/><StringDetect String="\\" attribute="Backslash Code"/><StringDetect String="\n" attribute="Backslash Code"/><StringDetect String="\r" attribute="Backslash Code"/><StringDetect String="\t" attribute="Backslash Code"/><StringDetect String="\b" attribute="Backslash Code"/><StringDetect String="\^" attribute="Backslash Code"/><StringDetect String="\v" attribute="Backslash Code"/><StringDetect String="\ " attribute="Backslash Code"/><StringDetect String="<<" attribute="Embedded Expression" context="embedded"/><DetectChar char="<" attribute="HTML Tag" context="htmltag"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="ValString" attribute="ValString"><StringDetect String="\'" attribute="Backslash Code"/><StringDetect String="\\" attribute="Backslash Code"/><StringDetect String="\n" attribute="Backslash Code"/><StringDetect String="\r" attribute="Backslash Code"/><StringDetect String="\t" attribute="Backslash Code"/><StringDetect String="\b" attribute="Backslash Code"/><StringDetect String="\^" attribute="Backslash Code"/><StringDetect String="\v" attribute="Backslash Code"/><StringDetect String="\ " attribute="Backslash Code"/><DetectChar char="<" attribute="HTML Tag" context="htmltag"/><DetectChar char="'" attribute="String" context="#pop"/></context><context name="embedded" attribute="Embedded Expression"><StringDetect String=">>" attribute="Embedded Expression" context="#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Octal" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Hex" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="ValString" defStyleNum="dsString"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Symbol" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Preprocessor" defStyleNum="dsPreprocessor" spellChecking="0"/><itemData name="Backslash Code" defStyleNum="dsSpecialChar" bold="1" italic="0" spellChecking="0"/><itemData name="HTML Tag" defStyleNum="dsOthers" bold="0" italic="1" spellChecking="0"/><itemData name="Embedded Expression" defStyleNum="dsVariable" bold="0" italic="1" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |