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
2.8 KiB
XML
1 line
No EOL
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="B-Method" version="3" kateversion="5.62" section="Scientific" extensions="*.mch;*.imp;*.ref" author="Ivo Anjo ([email protected])" license="LGPL"><highlighting><list name="sections"><item>CONSTANTS</item><item>CONSTRAINTS</item><item>IMPLEMENTATION</item><item>IMPORTS</item><item>INCLUDES</item><item>INITIALISATION</item><item>INVARIANT</item><item>MACHINE</item><item>PROMOTES</item><item>PROPERTIES</item><item>REFINEMENT</item><item>REFINES</item><item>SEES</item><item>SETS</item><item>USES</item><item>VARIABLES</item></list><list name="sectionsBlockStart"><item>OPERATIONS</item></list><list name="sectionsBlockEnd"><item>END</item></list><list name="operationSections"><item>DO</item><item>ELSE</item><item>ELSIF</item><item>IN</item><item>INVARIANT</item><item>OR</item><item>THEN</item><item>VARIANT</item><item>WHEN</item><item>WHERE</item></list><list name="operationSectionsBlockStart"><item>ANY</item><item>BEGIN</item><item>CASE</item><item>CHOICE</item><item>IF</item><item>LET</item><item>PRE</item><item>SELECT</item><item>VAR</item><item>WHILE</item></list><list name="operationSectionsBlockEnd"><item>END</item></list><list name="types"><item>NAT</item><item>NAT1</item></list><contexts><context name="Normal Text" attribute="Normal Text"><keyword String="sections" attribute="SectionKeyword" column="0"/><keyword String="sectionsBlockStart" attribute="SectionKeyword" beginRegion="sectionsBlock" column="0"/><keyword String="sectionsBlockEnd" attribute="SectionKeyword" endRegion="sectionsBlock" column="0"/><keyword String="types" attribute="Data Type"/><Int attribute="Decimal"/><StringDetect String="/*" attribute="Comment" context="Comment" beginRegion="Comment"/><keyword String="operationSections" attribute="OperationKeyword"/><keyword String="operationSectionsBlockStart" attribute="OperationKeyword" beginRegion="CodeBlock"/><keyword String="operationSectionsBlockEnd" attribute="OperationKeyword" endRegion="CodeBlock"/></context><context name="Comment" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="SectionKeyword" defStyleNum="dsBuiltIn" spellChecking="0"/><itemData name="OperationKeyword" defStyleNum="dsControlFlow" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Data Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments><keywords casesensitive="1"/></general></language> |