Damson/assets/syntax/javadoc.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
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Javadoc" version="7" kateversion="5.79" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho ([email protected])"><highlighting><contexts><context name="Start" attribute="Normal Text"><IncludeRules context="FindJavadoc"/></context><context name="LiteralTagar" attribute="InlineTag"><DetectChar char="}" attribute="InlineTag" context="#pop"/><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop#pop"/></context><context name="InlineTagar" attribute="InlineTag"><DetectChar char="}" attribute="InlineTag" context="#pop"/><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop#pop"/><IncludeRules context="##HTML"/></context><context name="JavadocParam" attribute="Javadoc" fallthroughContext="JavadocParamIdent" lineEndContext="#pop"><DetectSpaces context="JavadocParamIdent"/></context><context name="FindInlineTag" attribute="Javadoc"><WordDetect String="{@code" attribute="InlineTag" context="LiteralTagar"/><StringDetect String="{@docRoot}" attribute="InlineTag"/><StringDetect String="{@inheritDoc}" attribute="InlineTag"/><WordDetect String="{@link" attribute="InlineTag" context="InlineTagar"/><WordDetect String="{@linkplain" attribute="InlineTag" context="InlineTagar"/><WordDetect String="{@literal" attribute="InlineTag" context="LiteralTagar"/><StringDetect String="{@value}" attribute="InlineTag"/><WordDetect String="{@value" attribute="InlineTag" context="InlineTagar"/><WordDetect String="{@summary" attribute="InlineTag" context="LiteralTagar"/><WordDetect String="{@systemProperty" attribute="InlineTag" context="LiteralTagar"/></context><context name="JavadocParamIdent" attribute="JavadocParam" lineEndContext="#pop#pop"><DetectSpaces attribute="Javadoc" context="#pop#pop"/><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop#pop#pop" endRegion="Javadoc"/></context><context name="FindJavadoc" attribute="Normal Text"><StringDetect String="/**/" attribute="JavadocFS"/><StringDetect String="/**" attribute="JavadocFS" context="JavadocFSar" beginRegion="Javadoc"/></context><context name="JavadocFSStarPrefix" attribute="Javadoc" fallthroughContext="#pop" lineEndContext="#pop"><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop#pop" endRegion="Javadoc"/><DetectChar char="*" attribute="JavadocFS"/></context><context name="JavadocFSar" attribute="JavadocFS"><StringDetect String="*/" attribute="JavadocFS" context="#pop" endRegion="Javadoc"/><RegExpr String="[!?.](\s*$|\s(?![\da-z]))|^\s*\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))" attribute="JavadocFS" context="Javadocar"/><IncludeRules context="FindInlineTag"/><IncludeRules context="##Comments"/><IncludeRules context="##HTML"/></context><context name="Javadocar" attribute="Javadoc"><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop" endRegion="Javadoc"/><DetectChar char="*" attribute="JavadocFS" context="JavadocFSStarPrefix" firstNonSpace="1"/><WordDetect String="@author" attribute="BlockTag"/><WordDetect String="@deprecated" attribute="BlockTag"/><WordDetect String="@exception" attribute="BlockTag" context="JavadocParam"/><WordDetect String="@param" attribute="BlockTag" context="JavadocParam"/><WordDetect String="@return" attribute="BlockTag"/><WordDetect String="@see" attribute="BlockTag" context="SeeTag"/><WordDetect String="@serial" attribute="BlockTag"/><WordDetect String="@serialData" attribute="BlockTag"/><WordDetect String="@serialField" attribute="BlockTag"/><WordDetect String="@since" attribute="BlockTag"/><WordDetect String="@throws" attribute="BlockTag" context="JavadocParam"/><WordDetect String="@version" attribute="BlockTag"/><IncludeRules context="FindInlineTag"/><IncludeRules context="##Alerts"/><IncludeRules context="##HTML"/></context><context name="SeeTag" attribute="SeeTag" lineEndContext="#pop"><StringDetect String="*/" attribute="JavadocFS" context="#pop#pop#pop"/><IncludeRules context="##HTML"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="BlockTag" defStyleNum="dsAnnotation" bold="1" italic="0" spellChecking="0"/><itemData name="InlineTag" defStyleNum="dsAnnotation" bold="0" italic="0" spellChecking="0"/><itemData name="JavadocParam" defStyleNum="dsAnnotation" bold="0" italic="1" spellChecking="0"/><itemData name="SeeTag" defStyleNum="dsAnnotation" bold="0" italic="1" spellChecking="0"/><itemData name="JavadocFS" defStyleNum="dsComment" bold="1" italic="0" spellChecking="0"/><itemData name="Javadoc" defStyleNum="dsComment"/></itemDatas></highlighting><general><keywords casesensitive="1"/></general></language>