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]>
1 line
No EOL
6.9 KiB
XML
1 line
No EOL
6.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Hunspell Affix File" section="Other" extensions="*.aff" priority="-9" version="4" kateversion="5.62" author="Lukas Sommer" license="LGPLv2.1+KDE e.V."><highlighting><list name="list_keywordsWithEnum"><item>FLAG</item><item>LANG</item><item>SET</item></list><list name="list_keywordsWithCharacters"><item>IGNORE</item><item>TRY</item><item>WORDCHARS</item></list><list name="list_keywordsWithNumbersOrStrings"><item>BREAK</item><item>COMPOUNDSYLLABLE</item></list><list name="list_keywordsForAffixes"><item>PFX</item><item>SFX</item></list><list name="list_keywordsWithPattern"><item>COMPOUNDRULE</item><item>ICONV</item><item>KEY</item><item>MAP</item><item>OCONV</item><item>PHONE</item></list><contexts><context name="aff" attribute="Undefined"><DetectSpaces/><keyword String="list_keywordsForAffixes" attribute="Keyword" context="context_flag_stripping_affix_condition_morphologicalFields" column="0"/><DetectChar char="#" attribute="Comment" context="context_comment"/><StringDetect String="REP" attribute="Keyword" context="context_replace" column="0" insensitive="1"/><StringDetect String="CHECKCOMPOUNDPATTERN" attribute="Keyword" context="context_stringsWithFlags" column="0" insensitive="1"/><keyword String="list_keywordsWithNumbersOrStrings" attribute="Keyword" context="context_numbersOrString" column="0"/><keyword String="list_keywordsWithCharacters" attribute="Keyword" context="context_characters" column="0"/><keyword String="list_keywordsWithPattern" attribute="Keyword" context="context_pattern" column="0"/><keyword String="list_keywordsWithEnum" attribute="Keyword" context="context_enum" column="0"/><DetectIdentifier attribute="Keyword" context="context_numbersOrFlags" column="0"/></context><context name="context_comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/></context><context name="context_condition_morphologicalFields" attribute="Stripping" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/><RegExpr String="\.(?!\S)" attribute="Skipped parameter" context="context_morphologicalFields"/><RegExpr String="\S" context="context_notSkippedCondition_morphologicalFields" lookAhead="1"/></context><context name="context_morphologicalFields" attribute="Keyword" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/><DetectChar char=":" attribute="Keyword" context="context_morphologicalFieldsContent"/></context><context name="context_numbersOrString" attribute="String" lineEndContext="#pop"><DetectSpaces/><Int attribute="Number"/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_slash_flags_condition_morphologicalFields" attribute="Stripping" lineEndContext="#pop"><DetectChar char="/" attribute="Keyword"/><RegExpr String="\S*" attribute="Flags"/><DetectSpaces context="context_condition_morphologicalFields"/></context><context name="context_affix_condition_morphologicalFields" attribute="Stripping" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/><RegExpr String="0(?=/)" attribute="Skipped parameter" context="context_slash_flags_condition_morphologicalFields"/><DetectChar char="0" attribute="Skipped parameter" context="context_condition_morphologicalFields"/><RegExpr String="[^\s/]*(?=/)" attribute="Affix" context="context_slash_flags_condition_morphologicalFields"/><DetectChar char="/" context="context_slash_flags_condition_morphologicalFields" lookAhead="1"/><RegExpr String="\S*" attribute="Affix" context="context_condition_morphologicalFields"/></context><context name="context_stringsWithFlags" attribute="String" lineEndContext="#pop"><DetectSpaces/><DetectChar char="/" attribute="Keyword" context="context_stringsWithFlags_flagHelper"/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_characters" attribute="Characters" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_enum" attribute="Choice" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_flag_stripping_affix_condition_morphologicalFields" attribute="Keyword" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/><RegExpr String="\S*" attribute="Flags" context="context_stripping_affix_condition_morphologicalFields"/></context><context name="context_morphologicalFieldsContent" attribute="String" lineEndContext="#pop"><DetectSpaces context="context_morphologicalFields"/></context><context name="context_notSkippedCondition_morphologicalFields" attribute="Stripping" lineEndContext="#pop"><RegExpr String="\S*" attribute="Pattern"/><DetectSpaces context="context_morphologicalFields"/></context><context name="context_numbersOrFlags" attribute="Flags" lineEndContext="#pop"><DetectSpaces/><Int attribute="Number"/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_pattern" attribute="Pattern" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/></context><context name="context_replace" attribute="Keyword" lineEndContext="#pop"><DetectSpaces/><Int attribute="Number"/><DetectChar char="#" attribute="Comment" context="context_comment"/><RegExpr String="\S*" attribute="Pattern" context="context_numbersOrString"/></context><context name="context_stringsWithFlags_flagHelper" attribute="Flags" lineEndContext="#pop"><DetectSpaces context="context_stringsWithFlags"/></context><context name="context_stripping_affix_condition_morphologicalFields" attribute="Flags" lineEndContext="#pop"><DetectSpaces/><DetectChar char="#" attribute="Comment" context="context_comment"/><DetectChar char="0" attribute="Skipped parameter" context="context_affix_condition_morphologicalFields"/><RegExpr String="(Y|N)\s*(?![^\d])" attribute="Choice" context="context_numbersOrString"/><RegExpr String="\S*" attribute="Stripping" context="context_affix_condition_morphologicalFields"/></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="Stripping" defStyleNum="dsString"/><itemData name="Affix" defStyleNum="dsString"/><itemData name="String" defStyleNum="dsString"/><itemData name="Flags" defStyleNum="dsChar"/><itemData name="Skipped parameter" defStyleNum="dsKeyword"/><itemData name="Pattern" defStyleNum="dsOthers"/><itemData name="Characters" defStyleNum="dsChar"/><itemData name="Choice" defStyleNum="dsDataType"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="#"/></comments></general></language> |