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 KiB
XML
1 line
No EOL
4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="IDL" version="7" kateversion="5.62" section="Sources" extensions="*.idl" mimetype="text/x-idl-src"><highlighting><list name="keywords"><item>FALSE</item><item>Object</item><item>TRUE</item><item>any</item><item>attribute</item><item>case</item><item>const</item><item>context</item><item>default</item><item>enum</item><item>exception</item><item>fixed</item><item>in</item><item>inout</item><item>interface</item><item>module</item><item>oneway</item><item>out</item><item>public</item><item>raises</item><item>readonly</item><item>sequence</item><item>struct</item><item>switch</item><item>typedef</item><item>union</item><item>unsigned</item></list><list name="types"><item>boolean</item><item>char</item><item>double</item><item>float</item><item>long</item><item>octet</item><item>short</item><item>string</item><item>void</item><item>wchar</item><item>wstring</item></list><contexts><context name="Normal" attribute="Normal Text"><keyword String="keywords" attribute="Keyword"/><keyword String="types" attribute="Data Type"/><HlCOct attribute="Octal"/><HlCHex attribute="Hex"/><HlCChar attribute="Char"/><DetectChar char='"' attribute="String" context="String"/><IncludeRules context="FindComments"/><AnyChar String="!%&()+,-<=>?[]^{|}~" attribute="Symbol"/><StringDetect String="#if 0" attribute="Comment" context="Some Context3"/><DetectChar char="#" attribute="Preprocessor" context="Preprocessor" column="0"/></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="MatchComment" attribute="Normal Text" fallthroughContext="#pop" lineEndContext="#pop"><IncludeRules context="##Doxygen"/><StringDetect String="//" attribute="Comment" context="#pop!Commentar 1"/><StringDetect String="/*" attribute="Comment" context="#pop!Commentar 2" beginRegion="Comment"/></context><context name="Commentar 1" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Commentar 2" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"><LineContinue attribute="Preprocessor" context="Some Context2"/><RangeDetect char1='"' char='"' attribute="Prep. Lib"/><RangeDetect char1=">" char="<" attribute="Prep. Lib"/><IncludeRules context="FindComments"/></context><context name="Some Context" attribute="Normal Text" lineEndContext="#pop"/><context name="Some Context2" attribute="Normal Text" lineEndContext="#pop"/><context name="Some Context3" attribute="Normal Text"><DetectSpaces/><IncludeRules context="##Comments"/><StringDetect String="#endif" attribute="Comment" context="#pop" column="0"/></context><context name="String" attribute="String"><LineContinue attribute="String" context="Some Context"/><HlCStringChar attribute="String Char"/><DetectChar char='"' attribute="String" context="#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Data Type" defStyleNum="dsDataType"/><itemData name="Octal" defStyleNum="dsBaseN"/><itemData name="Hex" defStyleNum="dsBaseN"/><itemData name="Char" defStyleNum="dsChar"/><itemData name="String" defStyleNum="dsString"/><itemData name="String Char" defStyleNum="dsChar"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Symbol" defStyleNum="dsOperator"/><itemData name="Preprocessor" defStyleNum="dsOthers"/><itemData name="Prep. Lib" defStyleNum="dsOthers"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="//"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |