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
24 KiB
XML
1 line
No EOL
24 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="MS-DOS Batch" version="9" kateversion="5.62" section="Scripts" extensions="*.bat;*.cmd" mimetype="application/x-dos" casesensitive="0" author="Matthew Woehlke ([email protected])" license="LGPL"><highlighting><list name="builtins"><item>assoc</item><item>break</item><item>cd</item><item>chdir</item><item>cls</item><item>color</item><item>copy</item><item>date</item><item>del</item><item>dir</item><item>endlocal</item><item>erase</item><item>exit</item><item>ftype</item><item>md</item><item>mkdir</item><item>move</item><item>path</item><item>pause</item><item>popd</item><item>prompt</item><item>pushd</item><item>rd</item><item>ren</item><item>rename</item><item>rmdir</item><item>runas</item><item>setlocal</item><item>shift</item><item>start</item><item>time</item><item>title</item><item>type</item><item>ver</item><item>verify</item><item>vol</item></list><list name="special commands"><item>call</item><item>do</item><item>echo</item><item>else</item><item>for</item><item>goto</item><item>if</item><item>in</item><item>not</item><item>rem</item><item>set</item></list><list name="commands"><item>at</item><item>attrib</item><item>break</item><item>cacls</item><item>chcp</item><item>chkdsk</item><item>chkntfs</item><item>cmd</item><item>comp</item><item>compact</item><item>convert</item><item>diskcomp</item><item>diskcopy</item><item>doskey</item><item>fc</item><item>find</item><item>findstr</item><item>format</item><item>graftabl</item><item>help</item><item>label</item><item>mode</item><item>more</item><item>print</item><item>recover</item><item>replace</item><item>sort</item><item>subst</item><item>tree</item><item>xcopy</item></list><list name="comparators"><item>EQU</item><item>GEQ</item><item>GTR</item><item>LEQ</item><item>LSS</item><item>NEQ</item></list><contexts><context name="Start" attribute="Normal Text"><DetectSpaces/><keyword String="builtins" attribute="Builtin" context="Command"/><keyword String="commands" attribute="Command" context="Command"/><WordDetect String="set" attribute="Builtin" context="CmdSet" insensitive="1"/><WordDetect String="echo" attribute="Builtin" context="CmdEcho" insensitive="1" lookAhead="1"/><WordDetect String="if" attribute="ControlFlow" context="CmdIf" insensitive="1"/><WordDetect String="else" attribute="ControlFlow" insensitive="1"/><WordDetect String="for" attribute="ControlFlow" context="CmdFor" insensitive="1"/><WordDetect String="goto" attribute="ControlFlow" context="CmdGoto" insensitive="1"/><WordDetect String="call" attribute="Builtin" context="CmdCall" insensitive="1"/><WordDetect String="rem" attribute="Comment" context="Comment" insensitive="1"/><DetectChar char="@" attribute="Keyword"/><StringDetect String="::" attribute="Comment" context="Comment"/><DetectChar char=":" attribute="Label" context="Label" firstNonSpace="1"/><DetectChar char="(" attribute="Keyword" context="NestedStart" beginRegion="body"/><IncludeRules context="FindRedirections"/><RegExpr String='[^\s%!;*?"><|&]+' attribute="Path" context="Command"/><StringDetect String="||" attribute="Keyword"/><StringDetect String="&&" attribute="Keyword"/><DetectChar char="|" attribute="Redirection"/><DetectChar char="&" attribute="Keyword"/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/></context><context name="FindSubstitutions" attribute="Normal Text"><StringDetect String="%%" attribute="Escape" context="Substitution"/><IncludeRules context="FindVariables"/></context><context name="FindStrings" attribute="Normal Text"><DetectChar char='"' attribute="String" context="String"/></context><context name="Command" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindUnquotedString"/><IncludeRules context="FindSpecialCommandOption"/><DetectIdentifier/></context><context name="FindNumber" attribute="Normal Text" lineEndContext="#pop"><HlCHex attribute="Hex"/><HlCOct attribute="Octal"/><Int attribute="Number"/></context><context name="FindUnquotedStringEscape" attribute="Normal Text" lineEndContext="#pop"><LineContinue char="^" attribute="Escape"/><RegExpr String="\^." attribute="Escape"/></context><context name="FindRedirections" attribute="Normal Text"><RegExpr String="[0-9]*(>>?|<)" attribute="Redirection" context="Redirection"/></context><context name="FindVariables" attribute="Normal Text"><RegExpr String="%([A-Za-z_][A-Za-z0-9_.]*(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\])*(:~(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+)(,(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+))?|:[^=]+=[^%]*)?%|[0-9*#])|%~[fdpnxsatz]*(\$[A-Za-z_][A-Za-z0-9_.]*:)?[0-9#]|!%([A-Za-z_][A-Za-z0-9_.]*(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\]|%%[A-Za-z_][A-Za-z0-9_.]*)*%|[0-9*#])!|![A-Za-z_][A-Za-z0-9_.]*(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\]|%%[A-Za-z_][A-Za-z0-9_.]*)*(:~(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+)(,(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+))?|:[^=]+=[^!]*)?!" attribute="Variable Expansion" context="Variable" lookAhead="1"/></context><context name="CmdForDo" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><WordDetect String="do" attribute="Keyword" context="#pop#pop#pop#pop#pop" insensitive="1"/></context><context name="CmdForListBodyCmd" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><DetectIdentifier/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><StringDetect String="^|" attribute="Escape" context="#pop!CmdForListBodyStartCmd"/><StringDetect String="^&" attribute="Escape" context="#pop!CmdForListBodyStartCmd"/><IncludeRules context="FindUnquotedStringEscape"/><IncludeRules context="FindRedirections"/><IncludeRules context="FindSpecialCommandOption"/><DetectChar char=")" attribute="Keyword" context="CmdForDo"/><AnyChar String="&|^<>()" attribute="Error"/></context><context name="CmdForListBodyStartCmd" attribute="Normal Text" fallthroughContext="#pop!CmdForListBodyText" lineEndContext="#pop"><DetectSpaces/><keyword String="builtins" attribute="Builtin" context="#pop!CmdForListBodyCmd"/><keyword String="commands" attribute="Command" context="#pop!CmdForListBodyCmd"/><RegExpr String='[^\s%!;*?"><|&]+' attribute="Path" context="#pop!CmdForListBodyCmd"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><IncludeRules context="FindUnquotedStringEscape"/><AnyChar String="&|^<>()" attribute="Error"/></context><context name="Error" attribute="Error" lineEndContext="#pop"/><context name="FindUnquotedString" attribute="Normal Text" lineEndContext="#pop"><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><IncludeRules context="FindUnquotedStringEscape"/><IncludeRules context="FindRedirections"/><IncludeRules context="FindBranches"/></context><context name="FindVariableRegularKey" attribute="Normal Text"><DetectChar char="[" attribute="Symbol" context="VariableRegularKey"/></context><context name="String" attribute="String" lineEndContext="#pop"><DetectSpaces attribute="String"/><StringDetect String='\"' attribute="Escape"/><StringDetect String="\\" attribute="Escape"/><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="FindSubstitutions"/><DetectIdentifier attribute="String"/></context><context name="VariableRegular1" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="%" attribute="Variable Expansion" context="#pop"/><DetectIdentifier attribute="Variable"/><AnyChar String="0123456789*#" attribute="Variable" context="#pop"/><StringDetect String=":~" attribute="Variable Expansion" context="#pop!VariableSub"/><DetectChar char=":" attribute="Variable Expansion" context="#pop!VariableReplace1"/><IncludeRules context="FindVariableRegularKey"/><DetectChar char="." attribute="Variable"/></context><context name="CmdForIn" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><WordDetect String="in" attribute="Keyword" context="CmdForList" insensitive="1"/></context><context name="CmdForListBodyText" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><DetectIdentifier/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><DetectChar char=")" attribute="Keyword" context="CmdForDo"/></context><context name="CmdForR" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><IncludeRules context="FindStrings"/><IncludeRules context="FindUnquotedStringEscape"/><RegExpr String='([a-z][a-z.]*:)?[.]*\\*[^^\s\\%!;/:*?"><|&%]*(?=([\s\\;"%]|$))' attribute="Path" insensitive="1"/><DetectIdentifier attribute="Normal Text"/><RegExpr String="%%[a-z#$@](?=[$\s])" attribute="Variable" context="#pop!CmdForIn" insensitive="1"/><IncludeRules context="FindSubstitutions"/></context><context name="CmdIfCondCmpOperand2" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces context="#pop#pop#pop#pop"/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><DetectIdentifier/></context><context name="CmdIfCondNum" attribute="Normal Text" fallthroughContext="#pop#pop#pop" lineEndContext="#pop"><DetectSpaces/><Int attribute="Number" context="#pop#pop#pop"/><IncludeRules context="FindVariables"/></context><context name="CmdSetUnquotedExpr" attribute="Error" lineEndContext="#pop"><AnyChar String="()[]" attribute="Symbol"/><IncludeRules context="FindUnquotedString"/><AnyChar String="=+-/^*!" attribute="Operator"/><DetectChar char="," attribute="Keyword" context="#pop"/><DetectIdentifier attribute="Variable"/><IncludeRules context="FindNumber"/><DetectSpaces attribute="Normal Text"/></context><context name="CmdSetVar" attribute="Error" fallthroughContext="#pop!Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char='"' attribute="String" context="#pop!CmdSetQuotedVar"/><RegExpr String="[A-Za-z_][A-Za-z0-9_.]*(?=(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\]|![A-Za-z_][A-Za-z0-9_.]*!)?(=|\s*$))|%~?\d|%%([A-Za-z_][A-Za-z0-9_.]*|[0-9*#])" attribute="Variable" context="#pop!CmdSetVar="/><DetectChar char="=" attribute="Symbol" context="#pop!UnquotedString"/></context><context name="FindBranches" attribute="Normal Text"><StringDetect String="||" attribute="Keyword" context="#pop"/><StringDetect String="&&" attribute="Keyword" context="#pop"/><DetectChar char="|" attribute="Redirection" context="#pop"/><DetectChar char="&" attribute="Keyword" context="#pop"/><DetectChar char=")" attribute="Keyword" context="#pop" endRegion="body"/></context><context name="FindCmdSetVarSuffix" attribute="Error" lineEndContext="#pop"><DetectChar char="!" attribute="Variable Expansion"/><DetectIdentifier attribute="Variable"/><IncludeRules context="FindVariableRegularKey"/></context><context name="FindSpecialCommandOption" attribute="Normal Text" lineEndContext="#pop"><RegExpr String="[/-][A-Za-z0-9][A-Za-z0-9_]*:?" attribute="Option"/><RegExpr String='[.]+(?=([\s\\;"%]|$))|[A-Za-z][A-Za-z.]*:(\\+[^\s\\%!;/:*?"><|&]*)*|[^\s\\%!;/:*?"><|&]*(\\+[^\s\\%!;/:*?"><|&]*)+' attribute="Path"/></context><context name="Path" attribute="Path" lineEndContext="#pop"><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><AnyChar String=' 	\%/:*?"><|&' attribute="Normal Text" context="#pop" lookAhead="1"/><DetectIdentifier/></context><context name="UnquotedString" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces/><DetectIdentifier/><IncludeRules context="FindUnquotedString"/></context><context name="VariableModificator" attribute="Normal Text" lineEndContext="#pop"><AnyChar String="fdpnxsatz" attribute="Variable Expansion"/><DetectChar char="$" attribute="Variable Expansion" context="#pop!VariableFind"/><AnyChar String="0123456789#" attribute="Variable" context="#pop"/></context><context name="VariableSub" attribute="Normal Text" lineEndContext="#pop"><StringDetect String="%%" attribute="Escape"/><AnyChar String="%!" attribute="Variable Expansion" context="#pop"/><IncludeRules context="FindNumber"/><DetectIdentifier attribute="Variable"/><DetectChar char="-" attribute="Number"/><DetectChar char="," attribute="Variable Expansion"/><DetectChar char="." attribute="Variable"/></context><context name="CmdCall" attribute="Error" fallthroughContext="#pop!Command" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char=":" attribute="Label"/><RegExpr String="[^\s]+" attribute="Label" context="#pop!Command"/></context><context name="CmdEcho" attribute="Echoed Text" lineEndContext="#pop"><RegExpr String="echo\s+o(ff|n)\s*(?=[&|]|$)" attribute="Builtin" context="#pop" insensitive="1"/><StringDetect String="echo" attribute="Builtin" context="#pop!CmdEcho2" insensitive="1"/></context><context name="CmdEcho2" attribute="Echoed Text" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="FindSubstitutions"/><IncludeRules context="FindUnquotedStringEscape"/><IncludeRules context="FindRedirections"/><IncludeRules context="FindBranches"/><DetectIdentifier/></context><context name="CmdFor" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><RegExpr String="%%[a-z#$@]" attribute="Variable" context="CmdForIn" insensitive="1"/><StringDetect String="/d" attribute="Option" insensitive="1"/><StringDetect String="/r" attribute="Option" context="CmdForR" insensitive="1"/><StringDetect String="/f" attribute="Option" context="CmdForR" insensitive="1"/><StringDetect String="/l" attribute="Option" context="CmdForL" insensitive="1"/></context><context name="CmdForL" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><RegExpr String="%%[a-z#$@]" attribute="Variable" context="CmdForLIn" insensitive="1"/></context><context name="CmdForLIn" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><WordDetect String="in" attribute="Keyword" context="CmdForLRange" insensitive="1"/></context><context name="CmdForLRange" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char="(" attribute="Keyword" context="CmdForLStart"/></context><context name="CmdForLStart" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><AnyChar String=";,=" attribute="Keyword"/><DetectChar char="-" attribute="Number"/><IncludeRules context="FindNumber"/><IncludeRules context="FindVariables"/><DetectChar char=")" attribute="Keyword" context="#pop!CmdForDo"/><DetectIdentifier attribute="String"/></context><context name="CmdForList" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char="(" attribute="Keyword" context="CmdForListBody"/></context><context name="CmdForListBody" attribute="Normal Text" fallthroughContext="#pop!CmdForListBodyText" lineEndContext="#pop"><DetectSpaces/><AnyChar String="`'" context="#pop!CmdForListBodyStartCmd"/></context><context name="CmdGoto" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char=":" attribute="Label"/><RegExpr String="[^\s]+" attribute="Label" context="#pop"/></context><context name="CmdIf" attribute="Normal Text" fallthroughContext="CmdIfCond" lineEndContext="#pop"><DetectSpaces/><StringDetect String="/i" attribute="Option" insensitive="1"/><WordDetect String="not" attribute="Keyword" insensitive="1"/></context><context name="CmdIfCond" attribute="Normal Text" fallthroughContext="CmdIfCondCmp" lineEndContext="#pop"><WordDetect String="exist" attribute="Option" context="CmdIfCondExist" insensitive="1"/><WordDetect String="defined" attribute="Option" context="CmdIfCondDefined" insensitive="1"/><WordDetect String="errorlevel" attribute="Option" context="CmdIfCondNum" insensitive="1"/><WordDetect String="cmdextversion" attribute="Option" context="CmdIfCondNum" insensitive="1"/></context><context name="CmdIfCondCmp" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces context="#pop!CmdIfCondCmpOp"/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><DetectIdentifier/><StringDetect String="==" attribute="Keyword" context="CmdIfCondCmpOperand2"/></context><context name="CmdIfCondCmpOp" attribute="Normal Text" fallthroughContext="#pop#pop" lineEndContext="#pop"><keyword String="comparators" attribute="Keyword" context="CmdIfCondCmpOpSpace"/></context><context name="CmdIfCondCmpOpSpace" attribute="Normal Text" lineEndContext="#pop"><DetectSpaces context="#pop!CmdIfCondCmpOperand2"/><RegExpr String="[^\s]+" attribute="Error"/></context><context name="CmdIfCondDefined" attribute="Normal Text" fallthroughContext="#pop#pop#pop" lineEndContext="#pop"><DetectSpaces/><DetectIdentifier attribute="Variable" context="#pop#pop#pop"/></context><context name="CmdIfCondExist" attribute="Normal Text" fallthroughContext="#pop#pop#pop" lineEndContext="#pop"><DetectSpaces context="CmdIfCondExistPath"/></context><context name="CmdIfCondExistPath" attribute="Path" fallthroughContext="#pop#pop#pop#pop" lineEndContext="#pop"><DetectSpaces attribute="Normal Text" context="#pop#pop#pop#pop"/><IncludeRules context="FindStrings"/><IncludeRules context="FindSubstitutions"/><DetectIdentifier/></context><context name="CmdSet" attribute="Error" fallthroughContext="#pop!Error" lineEndContext="#pop"><IncludeRules context="CmdSetVar"/><WordDetect String="/p" attribute="Option" context="#pop!CmdSetVar" insensitive="1"/><WordDetect String="/a" attribute="Option" context="#pop!CmdSetExpr" insensitive="1"/></context><context name="CmdSetExpr" attribute="Error" fallthroughContext="#pop!CmdSetUnquotedExpr" lineEndContext="#pop"><DetectSpaces attribute="Normal Text"/><DetectChar char='"' attribute="String" context="CmdSetQuotedExpr"/><DetectIdentifier attribute="Variable" context="CmdSetUnquotedExpr"/><DetectChar char="," attribute="Keyword"/></context><context name="CmdSetQuotedExpr" attribute="Error" lineEndContext="#pop"><IncludeRules context="FindVariables"/><StringDetect String="%%" attribute="Operator"/><AnyChar String="=*/%+-&^|!~" attribute="Operator"/><AnyChar String="()[]," attribute="Symbol"/><DetectIdentifier attribute="Variable"/><StringDetect String="<<" attribute="Operator"/><StringDetect String=">>" attribute="Operator"/><IncludeRules context="FindNumber"/><DetectSpaces attribute="Normal Text"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="CmdSetQuotedVar" attribute="Error" fallthroughContext="#pop!Error" lineEndContext="#pop"><RegExpr String="[A-Za-z_][A-Za-z0-9_.]*(?=(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\]|![A-Za-z_][A-Za-z0-9_.]*!)?(=|\s*$))|%~?\d|%%([A-Za-z_][A-Za-z0-9_.]*|[0-9*#])" attribute="Variable" context="#pop!CmdSetQuotedVar="/><DetectChar char="=" attribute="Symbol" context="#pop!String"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="CmdSetQuotedVar=" attribute="Error" lineEndContext="#pop"><DetectChar char="=" attribute="Symbol" context="#pop!String"/><IncludeRules context="FindCmdSetVarSuffix"/><DetectChar char='"' attribute="String" context="#pop"/></context><context name="CmdSetVar=" attribute="Error" lineEndContext="#pop"><DetectChar char="=" attribute="Symbol" context="#pop!UnquotedString"/><IncludeRules context="FindCmdSetVarSuffix"/></context><context name="FindVariableRegularEscaped" attribute="Normal Text"><StringDetect String="%%" attribute="Escape" context="VariableRegularEscaped"/></context><context name="Label" attribute="Error" lineEndContext="#pop"><RegExpr String="[^\s]+" attribute="Label" context="Comment"/></context><context name="NestedStart" attribute="Normal Text"><DetectChar char=")" attribute="Keyword" context="#pop" endRegion="body"/><IncludeRules context="Start"/></context><context name="Redirection" attribute="Normal Text" fallthroughContext="#pop!Path"><DetectSpaces context="#pop!Path"/><RegExpr String="&[0-9]+|" attribute="Redirection" context="#pop"/></context><context name="Substitution" attribute="Normal Text" fallthroughContext="#pop"><RegExpr String="[A-Za-z_][A-Za-z0-9_.]*(\[(%%)?([A-Za-z_][A-Za-z0-9_.]*|\d+)\])*(:~(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+)(,(%%[A-Za-z_][A-Za-z0-9_.]*|-?[0-9]+))?|:[^=]+=[^%]*)?%|[0-9*#]|~[fdpnxsatz]*(\$[A-Za-z_][A-Za-z0-9_.]*:)?[0-9#]|" attribute="Variable Expansion" context="#pop!SubstitutionVariable" lookAhead="1"/><DetectIdentifier attribute="Variable" context="#pop"/></context><context name="SubstitutionVariable" attribute="Normal Text" fallthroughContext="#pop!VariableRegular1"><DetectChar char="~" attribute="Variable Expansion" context="#pop!VariableModificator"/></context><context name="Variable" attribute="Normal Text" lineEndContext="#pop"><StringDetect String="%~" attribute="Variable Expansion" context="#pop!VariableModificator"/><DetectChar char="%" attribute="Variable Expansion" context="#pop!VariableRegular1"/><DetectChar char="!" attribute="Variable Expansion" context="#pop!VariableRegular2"/></context><context name="VariableFind" attribute="Normal Text" lineEndContext="#pop"><DetectIdentifier attribute="Variable"/><DetectChar char=":" attribute="Variable Expansion"/><AnyChar String="0123456789#" attribute="Variable" context="#pop"/><DetectChar char="." attribute="Variable"/></context><context name="VariableRegular2" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="!" attribute="Variable Expansion" context="#pop"/><DetectIdentifier attribute="Variable"/><StringDetect String=":~" attribute="Variable Expansion" context="#pop!VariableSub"/><DetectChar char=":" attribute="Variable Expansion" context="#pop!VariableReplace2"/><IncludeRules context="FindVariableRegularKey"/><IncludeRules context="FindVariableRegularEscaped"/><DetectChar char="%" attribute="Variable Expansion" context="VariableRegular1"/><DetectChar char="." attribute="Variable"/></context><context name="VariableRegularEscaped" attribute="Normal Text" lineEndContext="#pop"><DetectIdentifier attribute="Variable" context="#pop"/></context><context name="VariableRegularKey" attribute="String"><DetectChar char="]" attribute="Symbol" context="#pop"/><StringDetect String="%%" attribute="Escape" context="VariableRegularKeyVar"/><IncludeRules context="FindNumber"/><DetectIdentifier attribute="String"/></context><context name="VariableRegularKeyVar" attribute="Normal Text" fallthroughContext="#pop"><DetectIdentifier attribute="Variable" context="#pop"/></context><context name="VariableReplace1" attribute="Normal Text" lineEndContext="#pop"><RegExpr String="[^=]+" attribute="String" context="#pop!VariableReplace1Sep"/></context><context name="VariableReplace1P2" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="%" attribute="Variable Expansion" context="#pop"/><RegExpr String="[^%]+" attribute="String"/></context><context name="VariableReplace1Sep" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="=" attribute="Variable Expansion" context="#pop!VariableReplace1P2"/></context><context name="VariableReplace2" attribute="Normal Text" lineEndContext="#pop"><RegExpr String="[^=]+" attribute="String" context="#pop!VariableReplace2Sep"/></context><context name="VariableReplace2P2" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="!" attribute="Variable Expansion" context="#pop"/><RegExpr String="[^!]+" attribute="String"/></context><context name="VariableReplace2Sep" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="=" attribute="Variable Expansion" context="#pop!VariableReplace2P2"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="ControlFlow" defStyleNum="dsControlFlow" spellChecking="0"/><itemData name="Number" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Label" defStyleNum="dsOthers"/><itemData name="Builtin" defStyleNum="dsBuiltIn"/><itemData name="Command" defStyleNum="dsKeyword"/><itemData name="Redirection" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="Escape" defStyleNum="dsSpecialChar" spellChecking="0"/><itemData name="Echoed Text" defStyleNum="dsNormal"/><itemData name="Variable" defStyleNum="dsVariable"/><itemData name="Variable Expansion" defStyleNum="dsPreprocessor" spellChecking="0"/><itemData name="Path" defStyleNum="dsNormal"/><itemData name="Option" defStyleNum="dsAttribute" spellChecking="0"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/><itemData name="Hex" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Octal" defStyleNum="dsBaseN" spellChecking="0"/><itemData name="Symbol" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Operator" defStyleNum="dsOperator" spellChecking="0"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="rem "/></comments><keywords casesensitive="0" additionalDeliminator="@"/></general></language> |