Damson/assets/syntax/mab.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.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="MAB-DB" version="5" kateversion="5.62" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0"><highlighting><contexts><context name="Section" attribute="Normal Text"><RegExpr String="^\*I [a-zA-Z0-9]* " attribute="Mab I Field" column="0"/><RegExpr String="^\*\*\*\**E" attribute="Header Piece" context="Header Piece" column="0"/><RegExpr String="^\*\*\*\**M" attribute="Header Medium" context="Header Medium" column="0"/><StringDetect String="**** BIBLIOTHECA" attribute="Database Header" context="Database Header" column="0"/><RegExpr String="^\*M [a-zA-Z0-9]* " attribute="Mab M Field" column="0"/><StringDetect String="*X TYP " attribute="Mab Comment Description" context="Mab Comment Description" column="0"/><StringDetect String="*X DESC " attribute="Mab Comment Type" context="Mab Comment Type" column="0"/><StringDetect String="*X " attribute="Comment" context="Comment" column="0"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Database Header" attribute="Database Header" lineEndContext="#pop"/><context name="Header Medium" attribute="Header Medium" lineEndContext="#pop"/><context name="Header Piece" attribute="Header Piece" lineEndContext="#pop"/><context name="Mab Comment Description" attribute="Mab Comment Description" lineEndContext="#pop"/><context name="Mab Comment Type" attribute="Mab Comment Type" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" color="#FF0022" selColor="#ffffff" italic="0" bold="1"/><itemData name="Header Piece" defStyleNum="dsKeyword" color="#993322" selColor="#ffffff" italic="0" bold="1"/><itemData name="Header Medium" defStyleNum="dsKeyword" color="#339922" selColor="#ffffff" italic="0" bold="1"/><itemData name="Database Header" defStyleNum="dsKeyword" color="#FF3322" selColor="#ffffff" italic="0" bold="1"/><itemData name="Mab M Field" defStyleNum="dsKeyword" color="#003366" selColor="#ffffff" italic="0" bold="1"/><itemData name="Mab I Field" defStyleNum="dsKeyword" color="#330066" selColor="#ffffff" italic="0" bold="1"/><itemData name="Mab Comment Description" defStyleNum="dsComment" color="#3333FF" selColor="#ffffff" italic="1" bold="1"/><itemData name="Mab Comment Type" defStyleNum="dsComment" color="#BB3333" selColor="#ffffff" italic="1" bold="1"/><itemData name="Comment" defStyleNum="dsComment" color="#999999" selColor="#ffffff" italic="1" bold="1"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="*X "/></comments></general></language>