Damson/assets/syntax/alert.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
1.9 KiB
XML

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language version="8" kateversion="5.62" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann ([email protected])" license="MIT" hidden="1"><highlighting><list name="alerts_hi"><item>ALERT</item><item>ATTENTION</item><item>DANGER</item><item>HACK</item><item>SECURITY</item></list><list name="alerts_mid"><item>BUG</item><item>CAUTION</item><item>DEPRECATED</item><item>FIXME</item><item>NOLINT</item><item>NOQA</item><item>TASK</item><item>TBD</item><item>TODO</item><item>WARNING</item></list><list name="alerts_lo"><item>###</item><item>NOTE</item><item>NOTICE</item><item>TEST</item><item>TESTING</item></list><contexts><context name="Normal Text" attribute="Normal Text" lineEndContext="#pop"><StringDetect String="{{{" attribute="Region Marker" beginRegion="AlertRegion1"/><StringDetect String="}}}" attribute="Region Marker" endRegion="AlertRegion1"/><WordDetect String="BEGIN" attribute="Region Marker" beginRegion="AlertRegion2"/><WordDetect String="END" attribute="Region Marker" endRegion="AlertRegion2"/><keyword String="alerts_hi" attribute="Alert Level 1"/><keyword String="alerts_mid" attribute="Alert Level 2"/><WordDetect String="noqa:" attribute="Alert Level 2"/><keyword String="alerts_lo" attribute="Alert Level 3"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a"/><itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a"/><itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d"/><itemData name="Region Marker" defStyleNum="dsRegionMarker"/></itemDatas></highlighting><general><keywords casesensitive="1" additionalDeliminator=" "/></general></language>