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
4.4 KiB
XML
1 line
No EOL
4.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="FlatBuffers" section="Sources" version="4" kateversion="5.62" indenter="cstyle" extensions="*.fbs" priority="5" author="Harald Fernengel" license="MIT"><highlighting><list name="keywords"><item>attribute</item><item>enum</item><item>file_extension</item><item>file_identifier</item><item>include</item><item>namespace</item><item>root_type</item><item>rpc_service</item><item>struct</item><item>table</item><item>union</item></list><list name="types"><item>bool</item><item>byte</item><item>double</item><item>float</item><item>float32</item><item>float64</item><item>int</item><item>int16</item><item>int32</item><item>int64</item><item>int8</item><item>long</item><item>short</item><item>string</item><item>ubyte</item><item>uint</item><item>uint16</item><item>uint32</item><item>uint64</item><item>uint8</item><item>ulong</item><item>ushort</item></list><list name="integers"><item>false</item><item>inf</item><item>infinity</item><item>nan</item><item>true</item></list><list name="attributes"><item>bit_flags</item><item>cpp_ptr_type</item><item>cpp_type</item><item>csharp_partial</item><item>deprecated</item><item>force_align</item><item>hash</item><item>id</item><item>idempotent</item><item>key</item><item>native_inline</item><item>nested_flatbuffer</item><item>original_order</item><item>required</item><item>streaming</item></list><contexts><context name="Normal" attribute="Normal Text"><DetectSpaces/><AnyChar String="=:" attribute="Symbol"/><AnyChar String=",;" attribute="Separator Symbol"/><AnyChar String=".0123456789" context="Number" lookAhead="1"/><DetectChar char="{" attribute="Block Symbol" beginRegion="Brace1"/><DetectChar char="}" attribute="Block Symbol" endRegion="Brace1"/><DetectChar char='"' attribute="String" context="String"/><StringDetect String="//" attribute="Comment" context="Comment1"/><StringDetect String="/*" attribute="Comment" context="Comment2" beginRegion="Comment"/><keyword String="keywords" attribute="Keyword"/><keyword String="attributes" attribute="Keyword"/><keyword String="types" attribute="Data Type"/><keyword String="integers" attribute="Integer Constants"/><DetectIdentifier/></context><context name="Comment1" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="Comment2" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="EscapeString" attribute="String Char" lineEndContext="#pop"><RegExpr String='\\([ntrbf"\\/]|[xX][0-9a-fA-F]{2}|u[0-9a-fA-F]{4})' attribute="String Char" context="#pop"/><RegExpr String="\\([xX][0-9a-fA-F]?|u[0-9a-fA-F]*)?" attribute="Error" context="#pop"/></context><context name="Number" attribute="Normal Text" lineEndContext="#pop"><Float attribute="Float" context="#pop"/><RegExpr String="0[xX]([.][[:xdigit:]]+|[[:xdigit:]]+([.][[:xdigit:]]*)?)([pP][-+]?[[:digit:]]+)" attribute="Float" context="#pop"/><HlCHex attribute="Decimal"/><Int attribute="Decimal" context="#pop"/><DetectChar char="." attribute="Normal Text" context="#pop"/></context><context name="String" attribute="String" lineEndContext="#pop"><DetectChar char="\" context="EscapeString" lookAhead="1"/><DetectChar char='"' attribute="String" context="#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Data Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="String" defStyleNum="dsString"/><itemData name="String Char" defStyleNum="dsChar" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Float" defStyleNum="dsFloat" spellChecking="0"/><itemData name="Integer Constants" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Symbol" defStyleNum="dsOperator" spellChecking="0"/><itemData name="Block Symbol" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Separator Symbol" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |