<document pattern="^.*\.(bas|bi|vbs|vbe)$">

<item name="options" casecare="0" wrap="0"></item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(and|andalso|as|byref|call|cast|circle|cls|color|const|cptr|declare|defint|defsng|defstr|delete|dim|do|draw|dynamic|else|end|enum|eqv|erase|exit)|explicit|extern|for|function|get|getkey|if|imp|inkey|input|is|line|locate|loop|mod|new|next|not|option|or|orelse|peek|poke|printprivate|procptr|public|put|redim|return|scope|screen|screenres|shared|shl|shr|sleep|strptr|sub|then|type|union|until|var|varptr|wend|while|with|xor\b</item>

<item name="types" type="keywords" color="type">\b(byte|const|double|integer|long|longint|pointer|ptr|short|single|static|string|ubyte|uinteger|ulong|ulongint|unsigned|wstring|zstring)\b</item>

<item name="operator" type="item" color="operator">[-=\+\*\/\|]</item>

<item name="bracket" type="item" color="brackets">[\(\)\[\]]</item>

<item name="include" type="item" color="include" fontstyle="italic">^#include</item>

<item name="preproc" type="item" color="preproc" fontstyle="italic">^#.*</item>

<item name="quotes" type="item" color="quotes" fontstyle="italic">("[^\"]*")</item>

<item name="single comment" type="item" color="single comment" fontstyle="bold">'[^\n]*</item>

<item name="single comment" type="item" color="single comment" fontstyle="bold">rem [^\n]*</item>

<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">/\*</item>

<item name="mcomment-end" type="mcomment-end">\*/</item>

<item name="cm_single" type="comment">' %s</item>

</document>
