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

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Hunspell Dictionary File" section="Other" extensions="*.dic" priority="-9" version="3" 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><list name="list_hyphenKeywords"><item>COMPOUNDLEFTHYPHENMIN</item><item>COMPOUNDRIGHTHYPHENMIN</item><item>LEFTHYPHENMIN</item><item>NEXTLEVEL</item><item>NEXTWORD</item><item>NOHYPHEN</item><item>RIGHTHYPHENMIN</item></list><contexts><context name="context_dic" attribute="Undefined" lineEndContext="context_spell"><Int attribute="Number" context="context_spell" column="0"/><RegExpr String=".*" attribute="Encoding" context="context_hyphen"/></context><context name="context_comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="context_spell" attribute="String"><DetectChar char="#" attribute="Comment" context="context_comment" column="0"/><DetectChar char="/" attribute="Keyword" context="context_spell_flags"/><DetectSpaces context="context_spell_options"/></context><context name="context_spell_options" attribute="Keyword" lineEndContext="#pop"><DetectChar char=":" attribute="Keyword" context="context_spell_parameter"/><DetectChar char="#" attribute="Comment" context="context_comment" column="0"/></context><context name="context_hyphen" attribute="String"><AnyChar String="0123456789" attribute="Number"/><DetectChar char="." attribute="Keyword"/><DetectChar char="/" attribute="Keyword" context="context_hyphen_parameters"/><AnyChar String="#%" attribute="Comment" context="context_comment" column="0"/><keyword String="list_hyphenKeywords" attribute="Keyword" column="0"/></context><context name="context_hyphen_parameters" attribute="String" lineEndContext="#pop"><AnyChar String=",=" attribute="Keyword"/><AnyChar String="0123456789" attribute="Number"/></context><context name="context_spell_flags" attribute="Flags" lineEndContext="#pop"><DetectSpaces context="context_spell_options"/></context><context name="context_spell_parameter" attribute="String" lineEndContext="#pop"><DetectSpaces context="#pop"/></context></contexts><itemDatas><itemData name="Undefined" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Number" defStyleNum="dsDecVal"/><itemData name="String" defStyleNum="dsString"/><itemData name="Flags" defStyleNum="dsChar"/><itemData name="Encoding" defStyleNum="dsDataType"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language>