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
27 KiB
XML
1 line
No EOL
27 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="4DOS BatchToMemory" kateversion="5.62" version="10" section="Scripts" extensions="*.btm" casesensitive="0" indenter="cstyle" author="Stefan Huebner ([email protected])" license="LGPL"><highlighting><list name="HighlightInsideComment"><item>achtung</item><item>attention</item><item>attn</item><item>fixme</item><item>info</item><item>todo</item></list><list name="IntFunctions"><item>ABS</item><item>ASCII</item><item>ATTRIB</item><item>AVERAGE</item><item>CDROM</item><item>CEILING</item><item>CLUSTSIZE</item><item>CODEPAGE</item><item>COM</item><item>COMPARE</item><item>CONVERT</item><item>COUNT</item><item>DATE</item><item>DAY</item><item>DEC</item><item>DECIMAL</item><item>DEVICE</item><item>DIGITS</item><item>DISKFREE</item><item>DISKTOTAL</item><item>DISKUSED</item><item>DOSMEM</item><item>DOWI</item><item>DOY</item><item>DRIVETYPE</item><item>EMS</item><item>EVAL</item><item>EXEC</item><item>EXTENDED</item><item>FIELDS</item><item>FILEAGE</item><item>FILECLOSE</item><item>FILEOPEN</item><item>FILEREAD</item><item>FILEREADB</item><item>FILES</item><item>FILESEEK</item><item>FILESEEKL</item><item>FILESIZE</item><item>FILEWRITE</item><item>FILEWRITEB</item><item>FINDCLOSE</item><item>FLOOR</item><item>HDDSIZE</item><item>INC</item><item>INDEX</item><item>INIWRITE</item><item>INT</item><item>ISALNUM</item><item>ISALPHA</item><item>ISASCII</item><item>ISCNTRL</item><item>ISDIGIT</item><item>ISLOWER</item><item>ISODOWI</item><item>ISOWEEK</item><item>ISOWYEAR</item><item>ISPRINT</item><item>ISPUNCT</item><item>ISSPACE</item><item>ISUPPER</item><item>ISXDIGIT</item><item>LEN</item><item>LINES</item><item>LPT</item><item>MAKEAGE</item><item>MAX</item><item>MIN</item><item>MONTH</item><item>NUMERIC</item><item>RANDOM</item><item>READY</item><item>REMOTE</item><item>REMOVABLE</item><item>SIMILAR</item><item>TIME</item><item>WILD</item><item>WORDS</item><item>XMS</item><item>YEAR</item></list><list name="StringFunctions"><item>AGEDATE</item><item>ALIAS</item><item>ALTNAME</item><item>ASCII</item><item>ATTRIB</item><item>CAPS</item><item>CHAR</item><item>CLIP</item><item>CLIPW</item><item>COMMA</item><item>CWD</item><item>CWDS</item><item>DATECONV</item><item>DDCSTR</item><item>DOW</item><item>DOWF</item><item>EXECSTR</item><item>EXPAND</item><item>EXT</item><item>FIELD</item><item>FILEDATE</item><item>FILENAME</item><item>FILETIME</item><item>FINDFIRST</item><item>FINDNEXT</item><item>FORMAT</item><item>FSTYPE</item><item>FULL</item><item>FUNCTION</item><item>HISTORY</item><item>IF</item><item>INIREAD</item><item>INSERT</item><item>INSTR</item><item>LABEL</item><item>LCS</item><item>LEFT</item><item>LFN</item><item>LINE</item><item>LOWER</item><item>LTRIM</item><item>MAKEDATE</item><item>MAKETIME</item><item>MASTER</item><item>MD5</item><item>MONTHF</item><item>NAME</item><item>PATH</item><item>QUOTE</item><item>READSCR</item><item>REPEAT</item><item>REPLACE</item><item>REVERSE</item><item>RIGHT</item><item>RTRIM</item><item>SEARCH</item><item>SELECT</item><item>SERIAL</item><item>SFN</item><item>SHA1</item><item>SMBSTR</item><item>STRIP</item><item>SUBST</item><item>SUBSTR</item><item>TIMER</item><item>TRIM</item><item>TRUENAME</item><item>UNIQUE</item><item>UNQUOTE</item><item>UNQUOTES</item><item>UPPER</item><item>WORD</item></list><list name="IfCommand"><item>if</item></list><list name="IffCommand"><item>iff</item></list><list name="TextCommand"><item>text</item></list><list name="InputCommand"><item>input</item></list><list name="InkeyCommand"><item>inkey</item></list><list name="DoCommand"><item>do</item></list><list name="EnddoCommand"><item>enddo</item></list><list name="SkipdoCommand"><item>iterate</item><item>leave</item></list><list name="SwitchCommand"><item>switch</item></list><list name="TestErrorlevel"><item>errorlevel</item></list><list name="TestStatusVarname"><item>defined</item><item>isalias</item><item>isfunction</item><item>isinternal</item><item>islabel</item></list><list name="SetCommand"><item>alias</item><item>function</item><item>set</item></list><list name="UnsetCommand"><item>ENDLOCAL</item><item>UNALIAS</item><item>UNFUNCTION</item><item>UNSET</item></list><list name="BadCommands"><item>case</item><item>default</item><item>else</item><item>elseiff</item><item>enddo</item><item>endiff</item><item>endswitch</item><item>endtext</item><item>for</item></list><list name="NeedOnOffCommands"><item>BREAK</item><item>IDLE</item><item>LFNFOR</item><item>LOADBTM</item><item>SWAPPING</item><item>TRANSIENT</item><item>VERIFY</item></list><list name="TakeAFileNameCommands"><item>CALL</item><item>CD</item><item>CDD</item><item>CHDIR</item><item>DEL</item><item>DESCRIBE</item><item>DIR</item><item>ERASE</item><item>HEAD</item><item>MD</item><item>MKDIR</item><item>PUSHD</item><item>RD</item><item>REN</item><item>RENAME</item><item>RMDIR</item><item>TOUCH</item></list><list name="simpleNoChecksCommands"><item>BEEP</item><item>CANCEL</item><item>DATE</item><item>ELSE</item><item>FREE</item><item>KEYBD</item><item>PAUSE</item><item>POPD</item><item>QUIT</item><item>SETDOS</item><item>SHIFT</item><item>TAIL</item><item>TEE</item><item>TIME</item><item>TIMER</item><item>TYPE</item></list><list name="NeedAnIntegerCommands"><item>CHCP</item><item>COUNTRY</item><item>DELAY</item><item>SETERROR</item></list><list name="TakeColorsCommands"><item>CLS</item><item>COLOR</item></list><list name="FilesystemOperationCommands"><item>ATTRIB</item><item>COPY</item><item>FFIND</item><item>MOVE</item></list><list name="DrawCommands"><item>DRAWBOX</item><item>DRAWHLINE</item><item>DRAWVLINE</item><item>SCREEN</item><item>SCRPUT</item><item>VSCRPUT</item></list><list name="NeedsACommandCommands"><item>EXCEPT</item><item>GLOBAL</item></list><list name="NoParametersAtAllCommands"><item>SETLOCAL</item></list><list name="OnOff"><item>off</item><item>on</item></list><contexts><context name="base" attribute="Normal"><IncludeRules context="findComments"/><IncludeRules context="findCommands"/><IncludeRules context="findCommandSeparator"/><IncludeRules context="findStrings"/></context><context name="findStrings" attribute="Normal"><DetectChar char="`" attribute="Escape" context="foundStringBackQuote"/><DetectChar char='"' attribute="String" context="foundStringQuote"/><IncludeRules context="findEscapes"/><IncludeRules context="findSubstitution"/><RegExpr String="\s*[+-]?\d*[,.]?\d+" attribute="Number"/><RegExpr String="\x1b\[.*[fhlmpsuABCDHJKR]" attribute="Escape" minimal="1"/></context><context name="popNeedEndOfCommand" attribute="Error" lineEndContext="#pop"><StringDetect String="%+" attribute="Keyword" context="#pop"/><DetectSpaces attribute="Normal"/></context><context name="Error" attribute="Error"/><context name="findOption" attribute="Option"><DetectChar char="/" attribute="Option" context="Option"/></context><context name="insideDo" attribute="Normal"><keyword String="SkipdoCommand" attribute="Keyword"/><keyword String="EnddoCommand" attribute="Keyword" context="#pop!popNeedEndOfCommand" endRegion="true"/><IncludeRules context="base"/></context><context name="Redirection" attribute="String" lineEndContext="#pop"><DetectSpaces attribute="Normal"/><IncludeRules context="findStrings"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="findNumbers" attribute="Normal"><RegExpr String="\s*[+-]?\d*[,.]?\d+" attribute="Number"/><StringDetect String="%@" attribute="Function" context="substitutionFindIntFunction"/><IncludeRules context="findVariables"/></context><context name="ColorHaveBlinkFG" attribute="String" lineEndContext="Error"><RegExpr String="\b(?:Bla(?:ck)?|Blue?|Gre(?:en)?|Red|Mag(?:enta)?|Cyan?|Yel(?:low)?|Whi(?:te)?)\b" attribute="Option" context="#pop!ColorHaveFG" insensitive="1"/><DetectSpaces/></context><context name="conditionEnd" attribute="Normal" fallthroughContext="#pop" lineEndContext="#pop"><RegExpr String="\.(?:and|x?or)\." attribute="Operator" context="#pop!conditionLeft" insensitive="1"/></context><context name="conditionLeft" attribute="Normal" fallthroughContext="#pop!conditionLeftStandard" lineEndContext="#pop"><RegExpr String="\bnot\b" attribute="Normal" context="conditionNot" insensitive="1" lookAhead="1"/><keyword String="TestStatusVarname" attribute="Label" context="#pop!conditionVarname"/><RegExpr String="(?:(?:dir)?exist|isdir)\s+" attribute="Label" context="#pop!conditionFileTest" insensitive="1"/><keyword String="TestErrorlevel" attribute="Label" context="#pop!conditionErrorlevel"/><DetectSpaces/></context><context name="findCondition" attribute="Normal"><RegExpr String="(?:not\s+)*(?:(?:(?:dir)?exist|isdir|defined|is(?:alias|function|label|internal)|errorlevel)|(?:.+(?:(?:\s*(==|!=)\s*)|(?:\s+(?:eq|ne|gt|ge|lt|le|eqc)\s+)).))" attribute="Error" context="conditionLeft" insensitive="1" minimal="1" lookAhead="1"/></context><context name="substitutionFunctionFound" attribute="Error" lineEndContext="Error"><DetectChar char="[" attribute="Function" context="#pop!findFunctionParameters" beginRegion="true"/></context><context name="cmdUnset" attribute="Normal" lineEndContext="#pop"><IncludeRules context="findOption"/><DetectIdentifier attribute="Variable"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="foundComment" attribute="Comment" lineEndContext="#pop"><IncludeRules context="##Comments"/><keyword String="HighlightInsideComment" attribute="Alert"/></context><context name="input" attribute="Error"><RegExpr String="/(?:[cdpx]|[w][0-9]+)\s" attribute="Option" insensitive="1"/><DetectSpaces attribute="Normal"/></context><context name="inputKeyDesc" attribute="Error" lineEndContext="#pop#pop#pop"><RegExpr String="(?:(?:Strg|Alt|Shift)-)?(?:[a-z0-9]|F[1-9]|F1[0-2]|Esc|Bksp|Tab|Enter|Up|Down|Left|Right|PgUp|PgDn|Home|End|Ins|Del)" attribute="Label" context="#pop!inputKeyDesc2"/></context><context name="inputMessage" attribute="String" lineEndContext="#pop"><RegExpr String="%%[a-z_][a-z0-9_]*" attribute="Variable" context="#pop!popNeedEndOfCommand" insensitive="1"/><IncludeRules context="findStrings"/></context><context name="substitutionFindIntFunction" attribute="Error" lineEndContext="#pop"><keyword String="IntFunctions" attribute="Function" context="#pop!substitutionFunctionFound"/><RegExpr String="[a-zA-Z_][a-zA-Z_0-9]*(?=\[)" attribute="Function" context="#pop!substitutionFunctionFound" insensitive="1"/></context><context name="substitutionIndirect" attribute="Variable" lineEndContext="Error"><DetectChar char="]" attribute="VariableBold" context="#pop" endRegion="true"/><IncludeRules context="findStrings"/></context><context name="switchDefault" attribute="Normal"><RegExpr String="\bcase\b" attribute="Keyword" context="switchCase" insensitive="1"/><RegExpr String="\bendswitch\b" attribute="Keyword" context="#pop!popNeedEndOfCommand" endRegion="true" insensitive="1"/><IncludeRules context="base"/></context><context name="ColorBG" attribute="String" lineEndContext="Error"><RegExpr String="\bbri(?:ght)?\b" attribute="Operator" insensitive="1"/><RegExpr String="\b(?:Bla(?:ck)?|Blue?|Gre(?:en)?|Red|Mag(?:enta)?|Cyan?|Yel(?:low)?|Whi(?:te)?)\b" attribute="Option" context="#pop!ColorHaveBG" insensitive="1"/></context><context name="ColorHaveBG" attribute="String" lineEndContext="#pop"><RegExpr String="\bBOR(?:der)?\b" attribute="Operator" context="#pop!ColorNeedBordercol" insensitive="1"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="ColorHaveBrightFG" attribute="String" lineEndContext="Error"><RegExpr String="\bbli(?:nk)?\b" attribute="Operator" context="#pop!ColorHaveBlinkFG" insensitive="1"/><IncludeRules context="ColorHaveBlinkFG"/></context><context name="ColorHaveFG" attribute="String" lineEndContext="Error"><RegExpr String="\s+on\s+" attribute="Keyword" context="#pop!ColorBG" insensitive="1"/></context><context name="ColorNeedBordercol" attribute="String" lineEndContext="Error"><RegExpr String="\s*(?:Bla(?:ck)?|Blue?|Gre(?:en)?|Red|Mag(?:enta)?|Cyan?|Yel(?:low)?|Whi(?:te)?)\b" attribute="Option" context="#pop!popNeedEndOfCommand" insensitive="1"/></context><context name="CommandGroup" attribute="Normal"><DetectChar char=")" attribute="Label" context="#pop" endRegion="true"/><IncludeRules context="base"/></context><context name="Option" attribute="Option" lineEndContext="#pop"><IncludeRules context="findStrings"/><DetectSpaces attribute="Normal" context="#pop"/></context><context name="RedirectionInput1st" attribute="String" lineEndContext="#pop"><IncludeRules context="Redirection"/><RegExpr String="[>]{1,2}[&]?[>]?" attribute="Redirection" context="#pop!Redirection"/></context><context name="RedirectionOutput1st" attribute="String" lineEndContext="#pop"><IncludeRules context="Redirection"/><DetectChar char="<" attribute="Redirection" context="#pop!Redirection"/></context><context name="cmdDo" attribute="Error" lineEndContext="Error"><RegExpr String="\s*forever(?=\s*$)" attribute="Label" context="#pop!insideDo" insensitive="1"/><RegExpr String="\s*[%0-9]" attribute="Variable" context="#pop!fixedDo" lookAhead="1"/><RegExpr String="\s*(?:while|until)" attribute="Label" context="#pop!conditionalDo" insensitive="1"/><RegExpr String="\s*(?:[a-z_]\w*|[0-9]*[&])" attribute="Variable" context="#pop!countedDo" insensitive="1"/></context><context name="cmdDraw" attribute="String" lineEndContext="#pop"/><context name="cmdEcho" attribute="String" lineEndContext="#pop"><IncludeRules context="findStrings"/><IncludeRules context="findRedirection"/><RegExpr String="\s*(?:$|\%\+|\)|\])" attribute="Normal" context="#pop" lookAhead="1"/></context><context name="cmdElseiff" attribute="Normal" lineEndContext="#pop"><IncludeRules context="findCondition"/><DetectSpaces/><RegExpr String="\bthen\b\s*(?:$|%\+)" attribute="Keyword" context="#pop" insensitive="1"/><StringDetect String="then" attribute="Keyword" context="Error" insensitive="1"/></context><context name="cmdEndText" attribute="String"><RegExpr String="^\s*endtext\s*$" attribute="Keyword" context="#pop" column="0" insensitive="1"/><RegExpr String="\x1b\[.*[fhlmpsuABCDHJKR]" attribute="Escape" minimal="1"/></context><context name="cmdFilesystemOperation" attribute="String" lineEndContext="#pop"><IncludeRules context="findOption"/><IncludeRules context="findStrings"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="cmdIff" attribute="Normal" lineEndContext="#pop"><IncludeRules context="findCondition"/><DetectSpaces/><RegExpr String="\bthen\b\s*(?:$|%\+)" attribute="Keyword" context="#pop!cmdIffThen" beginRegion="true" insensitive="1"/><StringDetect String="then" attribute="Keyword" context="Error" insensitive="1"/></context><context name="cmdIffThen" attribute="Normal"><RegExpr String="\belse\b" attribute="Keyword" context="popNeedEndOfCommand" insensitive="1"/><RegExpr String="\belseiff\b" attribute="Keyword" context="cmdElseiff" insensitive="1"/><RegExpr String="\bendiff\b" attribute="Keyword" context="#pop!popNeedEndOfCommand" endRegion="true" insensitive="1"/><IncludeRules context="base"/></context><context name="cmdInkey" attribute="String" fallthroughContext="#pop!inputMessage" lineEndContext="#pop"><StringDetect String="/k:" attribute="Option" context="inputKeysDP" insensitive="1"/><StringDetect String='/k"' attribute="Option" context="inputKeysAZ" insensitive="1"/><StringDetect String="/k" attribute="Error" insensitive="1"/><StringDetect String="/m" attribute="Option" insensitive="1"/><IncludeRules context="input"/></context><context name="cmdInput" attribute="String" fallthroughContext="#pop!inputMessage" lineEndContext="#pop"><IncludeRules context="input"/><RegExpr String="/(?:[en]|l[0-9]+)\s" attribute="Option" insensitive="1"/></context><context name="cmdNeedAnInteger" attribute="Error" lineEndContext="#pop"><DetectSpaces attribute="Normal"/><IncludeRules context="findOption"/><IncludeRules context="findNumbers"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="cmdNeedOnOff" attribute="Error" lineEndContext="#pop"><keyword String="OnOff" attribute="String" context="#pop!popNeedEndOfCommand"/><DetectSpaces attribute="Normal"/></context><context name="cmdNeedsACommand" attribute="String" lineEndContext="#pop"><IncludeRules context="findOption"/><IncludeRules context="base"/></context><context name="cmdSet" attribute="Normal" lineEndContext="#pop"><DetectChar char="=" attribute="Keyword" context="#pop"/><IncludeRules context="cmdUnset"/></context><context name="cmdSwitch" attribute="Normal" lineEndContext="#pop!insideSwitch"><IncludeRules context="findStrings"/></context><context name="cmdTakeAFileName" attribute="String" lineEndContext="#pop"><IncludeRules context="findOption"/><IncludeRules context="findStrings"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="cmdTakeColors" attribute="String" lineEndContext="#pop"><RegExpr String="\bbri(?:ght)?\b" attribute="Operator" context="#pop!ColorHaveBrightFG" insensitive="1"/><RegExpr String="\bbli(?:nk)?\b" attribute="Operator" context="#pop!ColorHaveBlinkFG" insensitive="1"/><IncludeRules context="ColorHaveBlinkFG"/></context><context name="cmdText" attribute="Error" lineEndContext="#pop!cmdEndText"><DetectSpaces attribute="Normal"/><RegExpr String="[>]{1,2}" attribute="Keyword" context="Redirection"/></context><context name="cmdsimpleNoChecks" attribute="String" lineEndContext="#pop"><IncludeRules context="findOption"/><IncludeRules context="findStrings"/><IncludeRules context="popNeedEndOfCommand"/></context><context name="conditionErrorlevel" attribute="Normal" lineEndContext="#pop"><DetectSpaces/><RegExpr String="==|!=|eq|ne|gt|ge|lt|le" attribute="Operator" insensitive="1"/><RegExpr String="\s*[+-]?\d*[,.]?\d+" attribute="Number" context="#pop!conditionEnd"/></context><context name="conditionFileTest" attribute="String" lineEndContext="#pop"><IncludeRules context="findStrings"/><DetectSpaces context="#pop!conditionEnd"/></context><context name="conditionLeftEval" attribute="Normal" fallthroughContext="#pop!conditionRight" lineEndContext="#pop"><DetectSpaces/><RegExpr String="==|!=|eq|ne|gt|ge|lt|le|eqc" attribute="Operator" insensitive="1"/></context><context name="conditionLeftStandard" attribute="Normal" lineEndContext="#pop"><RegExpr String="\s*(?:==|!=|eq|ne|gt|ge|lt|le)" attribute="Operator" context="#pop!conditionLeftEval" insensitive="1" lookAhead="1"/><IncludeRules context="findStrings"/></context><context name="conditionNot" attribute="Error" lineEndContext="#pop#pop"><RegExpr String="\bnot\b(?!\s*not\b)" attribute="Alert" context="#pop" insensitive="1"/></context><context name="conditionRight" attribute="Normal" lineEndContext="#pop"><IncludeRules context="findStrings"/><DetectSpaces context="#pop!conditionEnd"/></context><context name="conditionVarname" attribute="Normal" lineEndContext="#pop"><DetectIdentifier attribute="Variable" context="#pop!conditionEnd"/></context><context name="conditionalDo" attribute="Error" lineEndContext="#pop!insideDo"><IncludeRules context="findCondition"/><DetectSpaces attribute="Normal"/></context><context name="countedDo" attribute="Error" lineEndContext="Error"><RegExpr String="\bin\b" attribute="Keyword" context="#pop!countedDoIn" insensitive="1"/><DetectChar char="=" attribute="Keyword" context="#pop!countedDoStart"/><DetectSpaces attribute="Normal"/></context><context name="countedDoBy" attribute="Error" lineEndContext="#pop!insideDo"><IncludeRules context="findNumbers"/><DetectSpaces attribute="Normal"/></context><context name="countedDoIn" attribute="String" lineEndContext="#pop!insideDo"><DetectSpaces/><IncludeRules context="findOption"/><IncludeRules context="findStrings"/></context><context name="countedDoStart" attribute="Error" lineEndContext="Error"><RegExpr String="\bto\b" attribute="Keyword" context="#pop!countedDoTo" insensitive="1"/><IncludeRules context="findNumbers"/><DetectSpaces attribute="Normal"/></context><context name="countedDoTo" attribute="Error" lineEndContext="#pop!insideDo"><IncludeRules context="findNumbers"/><DetectSpaces attribute="Normal"/><RegExpr String="\bby\b" attribute="Keyword" context="#pop!countedDoBy" insensitive="1"/></context><context name="findCommandSeparator" attribute="Normal"><StringDetect String="%+" attribute="Keyword"/></context><context name="findCommands" attribute="Normal"><DetectChar char="(" attribute="Label" context="CommandGroup" beginRegion="true"/><IncludeRules context="findSpaghetti"/><keyword String="IfCommand" attribute="Keyword" context="conditionLeft"/><keyword String="IffCommand" attribute="Keyword" context="cmdIff"/><RegExpr String="[@]?echo\s+(?:on|off)(?=\s*($|\%\+|\)|\]))" attribute="Keyword" insensitive="1"/><RegExpr String="\becho[s]?(?:err)?[\.]?" attribute="Keyword" context="cmdEcho" insensitive="1"/><keyword String="TextCommand" attribute="Keyword" context="cmdText" beginRegion="true" insensitive="1"/><keyword String="SetCommand" attribute="Keyword" context="cmdSet"/><keyword String="UnsetCommand" attribute="Keyword" context="cmdUnset"/><keyword String="InputCommand" attribute="Keyword" context="cmdInput"/><keyword String="InkeyCommand" attribute="Keyword" context="cmdInkey"/><keyword String="DoCommand" attribute="Keyword" context="cmdDo" beginRegion="true"/><keyword String="SwitchCommand" attribute="Keyword" context="cmdSwitch" beginRegion="true"/><keyword String="NeedOnOffCommands" attribute="Keyword" context="cmdNeedOnOff"/><keyword String="TakeAFileNameCommands" attribute="Keyword" context="cmdTakeAFileName"/><keyword String="simpleNoChecksCommands" attribute="Keyword" context="cmdsimpleNoChecks"/><keyword String="NeedAnIntegerCommands" attribute="Keyword" context="cmdNeedAnInteger"/><keyword String="TakeColorsCommands" attribute="Keyword" context="cmdTakeColors"/><keyword String="FilesystemOperationCommands" attribute="Keyword" context="cmdFilesystemOperation"/><keyword String="DrawCommands" attribute="Keyword" context="cmdDraw"/><keyword String="NeedsACommandCommands" attribute="Keyword" context="cmdNeedsACommand"/><keyword String="NoParametersAtAllCommands" attribute="Keyword" context="popNeedEndOfCommand"/><keyword String="BadCommands" attribute="Error" context="Error"/></context><context name="findComments" attribute="Normal"><StringDetect String="::" attribute="Comment" context="foundComment" column="0"/><WordDetect String="rem" attribute="Comment" context="foundComment" insensitive="1"/></context><context name="findEscapes" attribute="Normal"><RegExpr String="%=e\[(?=.*[fhlmpsuABCDHJKR])" attribute="Escape" context="foundANSIEscape" minimal="1"/><RegExpr String="\x18.|%=." attribute="Escape"/></context><context name="findFunctionParameters" attribute="String" lineEndContext="Error"><DetectChar char="," attribute="Function"/><DetectChar char="]" attribute="Function" context="#pop" endRegion="true"/><IncludeRules context="findStrings"/></context><context name="findRedirection" attribute="Error"><DetectChar char="<" attribute="Keyword" context="RedirectionInput1st"/><RegExpr String="[>]{1,2}[&]?[>]?" attribute="Keyword" context="RedirectionOutput1st"/></context><context name="findSpaghetti" attribute="Normal"><RegExpr String="^:[a-zA-Z_][a-zA-Z_0-9]*" attribute="Label" context="foundLabel" beginRegion="true" column="0" insensitive="1"/><RegExpr String="(?:goto|gosub)\s+[a-zA-Z_][a-zA-Z_0-9]*" attribute="Label" context="foundSpagetti" insensitive="1"/><WordDetect String="return" attribute="Label" endRegion="true" insensitive="1"/></context><context name="findSubstitution" attribute="Normal"><DetectChar char="%" context="substitutionFound" lookAhead="1"/></context><context name="findVariables" attribute="Normal"><StringDetect String="%[" attribute="VariableBold" context="substitutionIndirect"/><RegExpr String="%(?:[a-z_][a-z_0-9]*%?|[0-9]+&?|&|\?+|_\?|#)" attribute="Variable" insensitive="1"/></context><context name="fixedDo" attribute="Error" lineEndContext="#pop!insideDo"><DetectSpaces attribute="Normal"/><IncludeRules context="findNumbers"/></context><context name="foundANSIEscape" attribute="String" lineEndContext="#pop"><IncludeRules context="findStrings"/><AnyChar String="fhlmpsuABCDHJKR" attribute="Escape" context="#pop"/></context><context name="foundLabel" attribute="Error" lineEndContext="#pop"><DetectChar char="[" attribute="Label" context="#pop!foundLabelParameters"/><DetectSpaces attribute="Normal"/></context><context name="foundLabelParameters" attribute="Error" lineEndContext="#pop"><DetectIdentifier attribute="Variable"/><DetectChar char="]" attribute="Label" context="#pop"/><DetectSpaces attribute="Normal"/></context><context name="foundSpagetti" attribute="Normal" lineEndContext="#pop"><IncludeRules context="popNeedEndOfCommand"/><IncludeRules context="findStrings"/></context><context name="foundStringBackQuote" attribute="String" lineEndContext="#pop"><DetectChar char="`" attribute="Escape" context="#pop"/></context><context name="foundStringQuote" attribute="String" lineEndContext="#pop"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="findStrings"/></context><context name="inputKeyDesc2" attribute="Error" lineEndContext="#pop#pop#pop"><DetectChar char="]" attribute="String" context="#pop"/></context><context name="inputKeysAZ" attribute="Error" lineEndContext="#pop#pop"><DetectChar char="[" attribute="String" context="inputKeyDesc"/><DetectChar char='"' attribute="Option" context="#pop"/><RegExpr String="\S" attribute="Function"/></context><context name="inputKeysDP" attribute="Error" lineEndContext="#pop#pop"><DetectChar char="[" attribute="String" context="inputKeyDesc"/><DetectSpaces attribute="Normal" context="#pop"/><RegExpr String="\S" attribute="Function"/></context><context name="insideSwitch" attribute="Normal"><RegExpr String="\s*default\s*$" attribute="Keyword" context="#pop!switchDefault" insensitive="1"/><IncludeRules context="switchDefault"/></context><context name="substitutionFindFunction" attribute="Error" lineEndContext="#pop"><keyword String="StringFunctions" attribute="Function" context="#pop!substitutionFunctionFound"/><IncludeRules context="substitutionFindIntFunction"/></context><context name="substitutionFound" attribute="Error" lineEndContext="#pop"><StringDetect String="%@" attribute="Function" context="#pop!substitutionFindFunction"/><StringDetect String="%[" attribute="VariableBold" context="#pop!substitutionIndirect"/><RegExpr String="%(?:[a-z_][a-z_0-9]*%?|[0-9]+&?|&|\?+|_\?|#)" attribute="Variable" context="#pop" insensitive="1"/><StringDetect String="%%" attribute="Operator" context="#pop"/></context><context name="switchCase" attribute="String" lineEndContext="#pop"><DetectSpaces/><StringDetect String=".or." attribute="Operator" insensitive="1"/><IncludeRules context="findStrings"/></context></contexts><itemDatas><itemData name="Normal" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Keyword" defStyleNum="dsKeyword"/><itemData name="Number" defStyleNum="dsDecVal"/><itemData name="Option" defStyleNum="dsDecVal"/><itemData name="Label" defStyleNum="dsOthers"/><itemData name="Function" defStyleNum="dsFunction"/><itemData name="Redirection" defStyleNum="dsKeyword"/><itemData name="String" defStyleNum="dsString"/><itemData name="Escape" defStyleNum="dsSpecialChar"/><itemData name="Variable" defStyleNum="dsVariable"/><itemData name="VariableBold" defStyleNum="dsVariable" bold="1"/><itemData name="Alert" defStyleNum="dsAlert"/><itemData name="Error" defStyleNum="dsError"/><itemData name="Operator" defStyleNum="dsOperator"/></itemDatas></highlighting><general><comments><comment name="singleLine" start="rem "/></comments><keywords casesensitive="0" additionalDeliminator="@"/></general></language> |