Damson/assets/syntax/asn1.xml
astar76 11c1a7808b Build the syntax definitions into the app
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]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="ASN.1" section="Markup" version="6" kateversion="5.62" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL"><highlighting><list name="keywords"><item>APPLICATION</item><item>AUTOMATIC</item><item>CLASS</item><item>DEFAULT</item><item>DEFINITIONS</item><item>EXPORTS</item><item>FALSE</item><item>FROM</item><item>IMPORTS</item><item>OPTIONAL</item><item>PRIVATE</item><item>SIZE</item><item>TAGS</item><item>TRUE</item><item>UNIVERSAL</item><item>WITH</item></list><list name="types"><item>BOOLEAN</item><item>CHOICE</item><item>DATE</item><item>DATE-TIME</item><item>DURATION</item><item>ENUMERATED</item><item>GeneralString</item><item>GeneralizedTime</item><item>IA5String</item><item>INTEGER</item><item>ISO64String</item><item>NULL</item><item>NumericString</item><item>OCTET</item><item>OF</item><item>PrintableString</item><item>REAL</item><item>SEQUENCE</item><item>SET</item><item>STRING</item><item>StringStore</item><item>T61String</item><item>TeletexString</item><item>UNION</item><item>UTCTime</item><item>UTF8String</item><item>UniversalString</item><item>VideotexString</item><item>VisibleString</item></list><contexts><context name="Normal Text" attribute="Normal Text"><keyword String="keywords" attribute="Keyword"/><StringDetect String="BEGIN" attribute="Keyword" beginRegion="Block"/><StringDetect String="END" attribute="Keyword" endRegion="Block"/><keyword String="types" attribute="Data Type"/><StringDetect String="--" attribute="Comment" context="Comment"/><StringDetect String="/*" attribute="Comment" context="Multiline Comment" beginRegion="Comment"/><DetectChar char="{" attribute="Normal Text" beginRegion="BraceBlock"/><DetectChar char="}" attribute="Normal Text" endRegion="BraceBlock"/><Int attribute="Decimal"/><DetectChar char='"' attribute="String" context="ctxString"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><IncludeRules context="##Comments"/></context><context name="Multiline Comment" attribute="Comment"><StringDetect String="*/" attribute="Comment" context="#pop" endRegion="Comment"/><IncludeRules context="##Comments"/></context><context name="ctxString" attribute="String"><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="Comment" defStyleNum="dsComment"/><itemData name="Data Type" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Decimal" defStyleNum="dsDecVal"/><itemData name="String" defStyleNum="dsString"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="--"/><comment name="multiLine" start="/*" end="*/" region="Comment"/></comments></general></language>