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
8.9 KiB
XML
1 line
No EOL
8.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Objective-C++" alternativeNames="ObjectiveC++;Objective-CPP;ObjectiveCPP;ObjC++;ObjCPP" version="13" kateversion="5.62" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objc++src;text/x-c-hdr" author="Gennady Telegin ([email protected]"><highlighting><list name="keywords"><item>@class</item><item>@defs</item><item>@encode</item><item>@end</item><item>@implementation</item><item>@interface</item><item>@private</item><item>@protected</item><item>@protocol</item><item>@public</item><item>@selector</item><item>and</item><item>and_eq</item><item>asm</item><item>bad_cast</item><item>bad_typeid</item><item>bitand</item><item>bitor</item><item>break</item><item>case</item><item>catch</item><item>class</item><item>compl</item><item>const_cast</item><item>continue</item><item>default</item><item>delete</item><item>do</item><item>dynamic_cast</item><item>else</item><item>enum</item><item>explicit</item><item>export</item><item>extern</item><item>false</item><item>for</item><item>friend</item><item>goto</item><item>if</item><item>inline</item><item>namespace</item><item>new</item><item>not</item><item>not_eq</item><item>operator</item><item>or</item><item>or_eq</item><item>private</item><item>protected</item><item>public</item><item>qobject_cast</item><item>reinterpret_cast</item><item>return</item><item>self</item><item>sizeof</item><item>static_cast</item><item>struct</item><item>super</item><item>switch</item><item>template</item><item>this</item><item>throw</item><item>true</item><item>try</item><item>type_info</item><item>typedef</item><item>typeid</item><item>typename</item><item>union</item><item>using</item><item>virtual</item><item>while</item><item>xor</item><item>xor_eq</item></list><list name="extensions"><item>FALSE</item><item>K_DCOP</item><item>Q_ARG</item><item>Q_ASSERT</item><item>Q_ASSERT_X</item><item>Q_CLASSINFO</item><item>Q_CLEANUP_RESOURCE</item><item>Q_D</item><item>Q_DECLARE_FLAGS</item><item>Q_DECLARE_INTERFACE</item><item>Q_DECLARE_OPERATORS_FOR_FLAGS</item><item>Q_DECLARE_PRIVATE</item><item>Q_DECLARE_PUBLIC</item><item>Q_DECLARE_SHARED</item><item>Q_DECLARE_TYPEINFO</item><item>Q_DISABLE_COPY</item><item>Q_ENUMS</item><item>Q_EXPORT</item><item>Q_FLAGS</item><item>Q_FOREACH</item><item>Q_FOREVER</item><item>Q_GADGET</item><item>Q_GLOBAL_STATIC</item><item>Q_GLOBAL_STATIC_WITH_ARGS</item><item>Q_INIT_RESOURCE</item><item>Q_INTERFACES</item><item>Q_INVOKABLE</item><item>Q_OBJECT</item><item>Q_OVERRIDE</item><item>Q_PROPERTY</item><item>Q_Q</item><item>Q_RETURN_ARG</item><item>Q_SCRIPTABLE</item><item>Q_SETS</item><item>Q_SIGNALS</item><item>Q_SLOTS</item><item>SIGNAL</item><item>SLOT</item><item>TRUE</item><item>connect</item><item>disconnect</item><item>emit</item><item>foreach</item><item>forever</item><item>signals</item><item>slots</item></list><list name="types"><item>auto</item><item>bool</item><item>char</item><item>const</item><item>double</item><item>float</item><item>int</item><item>int16_t</item><item>int32_t</item><item>int64_t</item><item>int8_t</item><item>long</item><item>mutable</item><item>register</item><item>short</item><item>signed</item><item>static</item><item>uchar</item><item>uint</item><item>uint16_t</item><item>uint32_t</item><item>uint64_t</item><item>uint8_t</item><item>unsigned</item><item>void</item><item>volatile</item><item>wchar_t</item></list><contexts><context name="Default" attribute="Normal Text"><DetectSpaces/><RegExpr String="#\s*if\s+0" attribute="Preprocessor" context="Outscoped" beginRegion="Outscoped" firstNonSpace="1"/><DetectChar char="#" attribute="Preprocessor" context="Preprocessor" firstNonSpace="1"/><keyword String="keywords" attribute="Keyword"/><keyword String="types" attribute="Data Type"/><DetectChar char="{" attribute="Symbol" beginRegion="Brace1"/><DetectChar char="}" attribute="Symbol" endRegion="Brace1"/><DetectIdentifier/><Float attribute="Float" context="Float Suffixes"/><HlCOct attribute="Octal"/><HlCHex attribute="Hex"/><Int attribute="Decimal" context="Int Suffixes"/><HlCChar attribute="Char"/><DetectChar char='"' attribute="String" context="String"/><IncludeRules context="FindComments"/><StringDetect String='@"' attribute="String" context="String"/><keyword String="extensions" attribute="Extensions"/><AnyChar String=":!%&()+,-/.*<=>?[]{|}~^;" attribute="Symbol"/></context><context name="FindComments" attribute="Normal Text" lineEndContext="#pop"><StringDetect String="//" attribute="Comment" context="MatchComment" lookAhead="1"/><StringDetect String="/*" attribute="Comment" context="MatchComment" lookAhead="1"/></context><context name="String" attribute="String" lineEndContext="#pop"><LineContinue attribute="String"/><HlCStringChar attribute="String Char"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="MatchComment" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="//BEGIN" attribute="Region Marker" context="#pop!Region Marker" beginRegion="Region1" firstNonSpace="1"/><StringDetect String="//END" attribute="Region Marker" context="#pop!Region Marker" endRegion="Region1" firstNonSpace="1"/><IncludeRules context="##Doxygen"/><StringDetect String="//" attribute="Comment" context="#pop!SingleLineComment"/><StringDetect String="/*" attribute="Comment" context="#pop!MultiLineComment" beginRegion="Comment"/></context><context name="Outscoped intern" attribute="Comment"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><DetectChar char='"' attribute="String" context="String"/><IncludeRules context="FindComments"/><RegExpr String="#\s*if" attribute="Comment" context="Outscoped intern" beginRegion="Outscoped" firstNonSpace="1"/><RegExpr String="#\s*endif" attribute="Comment" context="#pop" endRegion="Outscoped" firstNonSpace="1"/></context><context name="Region Marker" attribute="Region Marker" lineEndContext="#pop"/><context name="Float Suffixes" attribute="Float" fallthroughContext="#pop" lineEndContext="#pop"><AnyChar String="fF" attribute="Float" context="#pop"/></context><context name="Int Suffixes" attribute="Decimal" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="ULL" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="LLU" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="UL" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="LU" attribute="Decimal" context="#pop" insensitive="1"/><StringDetect String="LL" attribute="Decimal" context="#pop" insensitive="1"/><AnyChar String="ULuL" attribute="Decimal" context="#pop"/></context><context name="MultiLineComment" attribute="Comment"><DetectSpaces/><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="Outscoped" attribute="Comment"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><DetectChar char='"' attribute="String" context="String"/><IncludeRules context="FindComments"/><RegExpr String="#\s*if" attribute="Comment" context="Outscoped intern" beginRegion="Outscoped" firstNonSpace="1"/><RegExpr String="#\s*(?:endif|else|elif)" attribute="Preprocessor" context="#pop" endRegion="Outscoped" firstNonSpace="1"/></context><context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"><LineContinue attribute="Preprocessor"/><RegExpr String="define(?:[^\\]++|\\.)++" attribute="Preprocessor"/><RangeDetect char1='"' char='"' attribute="Prep. Lib"/><RangeDetect char1=">" char="<" attribute="Prep. Lib"/><IncludeRules context="FindComments"/></context><context name="SingleLineComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Extensions" defStyleNum="dsExtension" spellChecking="0"/><itemData name="Data Type" defStyleNum="dsDataType" 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="Float" defStyleNum="dsFloat" spellChecking="0"/><itemData name="Char" defStyleNum="dsChar" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="String Char" defStyleNum="dsSpecialChar" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Symbol" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Preprocessor" defStyleNum="dsPreprocessor" spellChecking="0"/><itemData name="Prep. Lib" defStyleNum="dsImport" spellChecking="0"/><itemData name="Region Marker" defStyleNum="dsRegionMarker"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |