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
9.2 KiB
XML
1 line
No EOL
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language version="11" kateversion="5.79" name="JSP" section="Markup" extensions="*.jsp;*.JSP" mimetype="text/html" casesensitive="0" author="Rob Martin ([email protected])" license="LGPL"><highlighting><list name="jsp-reserved-words"><item>and</item><item>div</item><item>empty</item><item>eq</item><item>false</item><item>ge</item><item>gt</item><item>instanceof</item><item>le</item><item>lt</item><item>mod</item><item>ne</item><item>not</item><item>null</item><item>or</item><item>true</item></list><contexts><context name="Normal" attribute="Normal Text"><RegExpr String="<%@\s*[a-zA-Z0-9_\.]*" attribute="Jsp Directive" context="Jsp Standard Directive"/><RegExpr String="<\s*jsp:(declaration|expression|scriptlet)\s*>" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/><RegExpr String="<\s*\/?s*jsp:[a-zA-Z0-9_\.]*" attribute="Jsp Directive" context="Jsp Xml Directive"/><IncludeRules context="FindJspScriptlet"/><StringDetect String="<!--" attribute="Html Comment" context="Html Comment" beginRegion="HtmlComment"/><IncludeRules context="FindJspCustomTag"/><StringDetect String="<![CDATA[" attribute="Normal Text"/><StringDetect String="]]>" attribute="Normal Text"/><WordDetect String="<script" attribute="Normal Text" context="JS" beginRegion="script"/><WordDetect String="<style" attribute="Normal Text" context="CSS" beginRegion="style"/><RegExpr String="<\s*\/?\s*[a-zA-Z0-9_]*" attribute="Normal Text" context="Html Attribute"/></context><context name="FindJspScriptlet" attribute="Normal Text"><StringDetect String="${" attribute="Jsp Expression" context="Jsp Expression"/><StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment" beginRegion="JspComment"/><RegExpr String="<%[!=]?" attribute="Jsp Scriptlet" context="Jsp Scriptlet" beginRegion="JspScriptlet"/></context><context name="FindJspCustomTag" attribute="Normal Text"><RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/></context><context name="Html Attribute" attribute="Identifier"><RegExpr String="\/?>" attribute="Normal Text" context="#pop"/><RegExpr String="\s*=\s*" attribute="Normal Text" context="Html Value"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Scriptlet" attribute="Normal Text"><StringDetect String="%>" attribute="Jsp Scriptlet" context="#pop" endRegion="JspScriptlet"/><RegExpr String="<\s*jsp:(declaration|expression|scriptlet)\s*>" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/><keyword String="jsp-reserved-words" attribute="Keyword"/><IncludeRules context="##Java" includeAttrib="1"/></context><context name="Jsp Double Quoted Param Value" attribute="Jsp Param Value"><DetectChar char='"' attribute="Jsp Param Value" context="#pop#pop"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Single Quoted Param Value" attribute="Jsp Param Value"><DetectChar char="'" attribute="Jsp Param Value" context="#pop#pop"/><IncludeRules context="FindJspScriptlet"/></context><context name="CSS" attribute="Normal Text"><DetectChar char=">" attribute="Normal Text" context="CSS content"/><StringDetect String="/>" attribute="Normal Text" context="#pop" endRegion="style"/><IncludeRules context="Html Attribute"/></context><context name="CSS content" attribute="Normal Text"><StringDetect String="</style>" attribute="Normal Text" context="#pop#pop" endRegion="style"/><IncludeRules context="##CSS" includeAttrib="1"/></context><context name="Html Comment" attribute="Html Comment"><IncludeRules context="FindJspScriptlet"/><RegExpr String="\/*-->" attribute="Html Comment" context="#pop" endRegion="HtmlComment"/><IncludeRules context="##Comments"/></context><context name="Html Double Quoted Value" attribute="Types"><IncludeRules context="FindJspScriptlet"/><IncludeRules context="FindJspCustomTag"/><RegExpr String='("|&quot;|&#34;)' attribute="Types" context="#pop#pop"/></context><context name="Html Single Quoted Value" attribute="Types"><IncludeRules context="FindJspScriptlet"/><IncludeRules context="FindJspCustomTag"/><RegExpr String="('|&#39;)" attribute="Types" context="#pop#pop"/></context><context name="Html Unquoted Value" attribute="Types"><IncludeRules context="FindJspScriptlet"/><IncludeRules context="FindJspCustomTag"/><RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop#pop"/><DetectSpaces attribute="Types" context="#pop#pop"/></context><context name="Html Value" attribute="Types"><IncludeRules context="FindJspScriptlet"/><IncludeRules context="FindJspCustomTag"/><RegExpr String='("|&quot;|&#34;)' attribute="Types" context="Html Double Quoted Value"/><RegExpr String="('|&#39;)" attribute="Types" context="Html Single Quoted Value"/><RegExpr String="\s*#?-?_?\.?[a-zA-Z0-9]*" attribute="Types" context="Html Unquoted Value"/><RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop"/></context><context name="JS" attribute="Normal Text"><DetectChar char=">" attribute="Normal Text" context="JS content"/><StringDetect String="/>" attribute="Normal Text" context="#pop" endRegion="script"/><IncludeRules context="Html Attribute"/></context><context name="JS comment close" attribute="Jsp Comment"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><StringDetect String="</script" attribute="Normal Text" context="#pop#pop#pop" endRegion="script"/></context><context name="JS content" attribute="Normal Text"><WordDetect String="</script" attribute="Normal Text" context="#pop#pop!Html Attribute" endRegion="script"/><RegExpr String="//(?=.*</script)" attribute="Jsp Comment" context="JS comment close"/><IncludeRules context="Normal##JavaScript" includeAttrib="1"/></context><context name="Jsp Comment" attribute="Jsp Comment"><StringDetect String="--%>" attribute="Jsp Comment" context="#pop" endRegion="JspComment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Jsp Custom Tag" attribute="Identifier"><RegExpr String="\/?>" attribute="Keyword" context="#pop"/><RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Custom Tag Value"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Custom Tag Value" attribute="Normal Text"><IncludeRules context="FindJspScriptlet"/><DetectChar char='"' attribute="Types" context="Jsp Double Quoted Custom Tag Value"/><DetectChar char="'" attribute="Types" context="Jsp Single Quoted Custom Tag Value"/><RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop"/></context><context name="Jsp Double Quoted Custom Tag Value" attribute="Types"><DetectChar char='"' attribute="Types" context="#pop#pop"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Expression" attribute="Normal Text"><DetectChar char="}" attribute="Jsp Expression" context="#pop"/><keyword String="jsp-reserved-words" attribute="Keyword"/><IncludeRules context="##Java" includeAttrib="1"/></context><context name="Jsp Single Quoted Custom Tag Value" attribute="Types"><DetectChar char="'" attribute="Types" context="#pop#pop"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Standard Directive" attribute="Jsp Param Name"><StringDetect String="%>" attribute="Jsp Directive" context="#pop"/><RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Standard Directive Value"/><IncludeRules context="FindJspScriptlet"/><IncludeRules context="FindJspCustomTag"/></context><context name="Jsp Standard Directive Value" attribute="Jsp Param Value"><IncludeRules context="FindJspScriptlet"/><DetectChar char='"' attribute="Jsp Param Value" context="Jsp Double Quoted Param Value"/><DetectChar char="'" attribute="Jsp Param Value" context="Jsp Single Quoted Param Value"/><StringDetect String="%>" attribute="Jsp Directive" context="#pop#pop"/></context><context name="Jsp Xml Directive" attribute="Jsp Param Name"><RegExpr String="\s*\/?\s*>" attribute="Jsp Directive" context="#pop"/><RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Xml Directive Value"/><IncludeRules context="FindJspScriptlet"/></context><context name="Jsp Xml Directive Value" attribute="Jsp Param Value"><IncludeRules context="FindJspScriptlet"/><DetectChar char='"' attribute="Jsp Param Value" context="Jsp Double Quoted Param Value"/><DetectChar char="'" attribute="Jsp Param Value" context="Jsp Single Quoted Param Value"/><RegExpr String="\s*\/?\s*>" attribute="Jsp Directive" context="#pop#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Identifier" defStyleNum="dsOthers"/><itemData name="Types" defStyleNum="dsDataType"/><itemData name="Html Comment" defStyleNum="dsComment"/><itemData name="Jsp Directive" defStyleNum="dsBuiltIn" bold="1" italic="1"/><itemData name="Jsp Scriptlet" defStyleNum="dsPreprocessor" bold="1" italic="0"/><itemData name="Jsp Expression" defStyleNum="dsPreprocessor" bold="1" italic="0"/><itemData name="Jsp Comment" defStyleNum="dsComment"/><itemData name="Jsp Param Name" defStyleNum="dsOthers"/><itemData name="Jsp Param Value" defStyleNum="dsString"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="<%--" end="--%>" region="JspComment"/></comments><keywords casesensitive="1"/></general></language> |