Damson/assets/syntax/hunspell-dat.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.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Hunspell Thesaurus File" section="Other" extensions="*.dat" priority="-9" version="1" kateversion="5.62" author="Lukas Sommer" license="LGPL version 2.1, or version 3 or later versions approved by the membership of KDE e.V.; or any other license appoved by the emembership of KDE e.V."><highlighting><contexts><context name="context_dat" attribute="Undefined" fallthroughContext="context_content" lineEndContext="context_content"><RegExpr String=".*" attribute="Encoding" context="context_content"/></context><context name="context_content" attribute="Entry"><DetectChar char="-" attribute="Keyword" context="context_list" column="0"/><DetectChar char="|" attribute="Keyword" context="context_number"/></context><context name="context_list" attribute="String" lineEndContext="#pop"><DetectChar char="|" attribute="Keyword"/><RangeDetect char1=")" char="(" attribute="Hint"/></context><context name="context_number" attribute="Number" lineEndContext="#pop"/></contexts><itemDatas><itemData name="Undefined" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Number" defStyleNum="dsDecVal"/><itemData name="String" defStyleNum="dsString"/><itemData name="Hint" defStyleNum="dsOthers"/><itemData name="Encoding" defStyleNum="dsDataType"/><itemData name="Entry" defStyleNum="dsFunction"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language>