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.6 KiB
XML
1 line
No EOL
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Common Intermediate Language (CIL)" version="3" kateversion="5.62" section="Assembler" extensions="*.il" author="Volker Krause ([email protected])" license="MIT"><highlighting><list name="keyword-list"><item>catch</item><item>cil</item><item>class</item><item>default</item><item>extends</item><item>extern</item><item>finally</item><item>instance</item><item>managed</item><item>method</item><item>private</item><item>public</item><item>static</item><item>try</item><item>virtual</item></list><list name="type-list"><item>bool</item><item>float32</item><item>float64</item><item>int32</item><item>int64</item><item>int8</item><item>object</item><item>string</item><item>unsigned</item><item>void</item></list><list name="meta-list"><item>assembly</item><item>custom</item><item>entrypoint</item><item>field</item><item>locals</item><item>maxstack</item><item>module</item><item>namespace</item><item>property</item></list><list name="op-list"><item>add</item><item>and</item><item>arglist</item><item>beq</item><item>bge</item><item>bgt</item><item>ble</item><item>blt</item><item>bne</item><item>box</item><item>br</item><item>break</item><item>brfalse</item><item>brinst</item><item>brnull</item><item>brtrue</item><item>brzero</item><item>call</item><item>calli</item><item>callvirt</item><item>castclass</item><item>ceq</item><item>cgt</item><item>ckfinite</item><item>clt</item><item>constrained</item><item>conv</item><item>cpblk</item><item>cpobj</item><item>div</item><item>dup</item><item>endfault</item><item>endfilter</item><item>endfinally</item><item>initblk</item><item>initobj</item><item>isinst</item><item>jmp</item><item>ldarg</item><item>ldarga</item><item>ldc</item><item>ldelem</item><item>ldelema</item><item>ldfld</item><item>ldflda</item><item>ldftn</item><item>ldind</item><item>ldlen</item><item>ldloc</item><item>ldloca</item><item>ldnull</item><item>ldobj</item><item>ldsfld</item><item>ldsflda</item><item>ldstr</item><item>ldtoken</item><item>ldvirtftn</item><item>leave</item><item>localloc</item><item>mkrefany</item><item>mul</item><item>neg</item><item>newarr</item><item>newobj</item><item>nop</item><item>not</item><item>or</item><item>pop</item><item>readonly</item><item>refanytype</item><item>refanyval</item><item>rem</item><item>ret</item><item>rethrow</item><item>shl</item><item>shr</item><item>sizeof</item><item>starg</item><item>stelem</item><item>stfld</item><item>stind</item><item>stloc</item><item>stobj</item><item>stsfld</item><item>sub</item><item>switch</item><item>tail</item><item>throw</item><item>unaligned</item><item>unbox</item><item>volatile</item><item>xor</item></list><contexts><context name="normal-context" attribute="Normal Text"><StringDetect String="//" attribute="Comment" context="comment-context"/><StringDetect String="/*" attribute="Comment" context="multiline-comment-context" beginRegion="CommentRegion"/><keyword String="keyword-list" attribute="Keyword"/><keyword String="type-list" attribute="Data Type"/><keyword String="meta-list" attribute="Meta Data"/><keyword String="op-list" attribute="Instructions"/><DetectChar char="{" beginRegion="BlockRegion"/><DetectChar char="}" endRegion="BlockRegion"/><DetectChar char='"' attribute="String" context="string-context"/><RegExpr String="IL_[\da-f]+:" attribute="Label"/></context><context name="comment-context" attribute="Comment" lineEndContext="#pop"><IncludeRules context="##Comments"/></context><context name="multiline-comment-context" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="CommentRegion"/><IncludeRules context="##Comments"/></context><context name="string-context" attribute="String" lineEndContext="#pop"><HlCStringChar attribute="Special Character"/><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="String" defStyleNum="dsString" spellChecking="0"/><itemData name="Special Character" defStyleNum="dsChar" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Label" defStyleNum="dsPreprocessor" spellChecking="0"/><itemData name="Meta Data" defStyleNum="dsAttribute" spellChecking="0"/><itemData name="Instructions" defStyleNum="dsFunction" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="/*" end="*/" region="CommentRegion"/><comment name="singleLine" start="//"/></comments><keywords casesensitive="1"/></general></language> |