<glimmer-definition>
   <settings>
      <language>Active Server Pages</language>
      <compiler>gnome-moz-remote --newwin %1/%2</compiler>
      <debugger>gnome-moz-remote --newwin %1/%2</debugger>
      <execution>gnome-moz-remote --newwin %1/%2</execution>
      <auto-indent>1</auto-indent>
      <use-spaces>0</use-spaces>
      <tab-stop>5</tab-stop>
   </settings>

   <mime-types>
      <extension>asp</extension>
   </mime-types>

   <syntax-items>
      <syntax-item>
         <name>string</name>
         <start-regex>&quot;</start-regex>
         <end-regex>\(&quot;\|\n\)</end-regex>
         <style>string</style>
      </syntax-item>
      <syntax-item>
         <name>VBcomment</name>
         <start-regex>&apos;</start-regex>
         <end-regex>\n</end-regex>
         <style>comment</style>
      </syntax-item>
   </syntax-items>

   <pattern-items>
      <pattern-item>
         <name>htmlcomment</name>
         <regex>\(\&lt;!--\|\?\?--&gt;\)</regex>
         <style>comment</style>
      </pattern-item>
      <pattern-item>
         <name>close-tag</name>
         <regex>&gt;</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>vars</name>
         <regex>\$\$?[a-zA-Z_][a-zA-Z0-9_]*</regex>
         <style>variable</style>
      </pattern-item>
      <pattern-item>
         <name>asp-tag</name>
         <regex>&lt;%</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>q-mark</name>
         <regex>\?</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>asp-keywords</name>
         <regex>\b\(Next\|next\|Not\|not\|foreach\|key\|Case\|case\|do\|Do\|Else\|else\|For\|for\|function\|FUNCTION\|if\|If\|in\|int\|dowhile\|Wend\|wend\|loop\|Loop\|SUB\|sub\|end\|END\|End\|While\|while\|with\|then\|Then\|Select\|select\|EOF\|eof\|nothing\|Nothing\|to\|To\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>asp-built-in</name>
         <regex>\b\(application\|objectcontext\|request\|response\|server\|session\|connection\|recordset\|field\|command\|parameter\|property\|error\|Instream\|Instream\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>asp-collections</name>
         <regex>\b\(errors\|properties\|fields\|parameters\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>asp-properties</name>
         <regex>\b\(clientcertificate\|cookies\|form\|querystring\|servervariables\|totalbytes\|buffer\|cachecontrol\|charset\|contenttype\|expires\|expiresabolute\|isclientconnected\|pics\|status\|scripttimeout\|contents\|staticobjects\|codepage\|lcid\|sessionid\|timeout\|attributes\|commandtimout\|connectionstring\|connectiontimeout\|cursorlocation\|defaultdatabase\|isolationlevel\|mode\|provider\|state\|version\|absolutepage\|absoluteposition\|activeconnection\|bof\|bookmark\|cachesize\|editmode\|eof\|filter\|index\|locktype\|marshaloptions\|maxrecords\|pagecount\|pagesize\|recountcount\|sort\|source\|status\|actualsize\|attributes\|definedsize\|name\|numericscale\|originalvalue\|precision\|type\|underlyingvalue\|value\|commandtext\|commandtype\|precision\|description\|helpcontext\|helpfile\|nativeerror\|number\|sqlstate\|contents\|charset\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>asp-methods</name>
         <regex>\b\(set\|Set\|CreateObject\|createobject\|htmlencode\|mappath\|urlencode\|urlpathencode\|addheader\|appendlog\|binarywrite\|clear\|flush\|redirect\|write\|abandon\|binaryread\|setcomplete\|setabort\|lock\|unlock\|begintrans\|cancel\|close\|committrans\|execute\|open\|Open\|Close\|close\|openschema\|rollbacktrans\|addnew\|cancelbatch\|cancelupdate\|clone\|delete\|move\|movefirst\|movelast\|movenext\|MoveNext\|moveprevious\|requery\|resync\|save\|seek\|supports\|update\|updatebatch\|appendchunk\|getchunk\|createparameter\|print\)\b</regex>
         <style>function</style>
      </pattern-item>
      <pattern-item>
         <name>asp-other-functions</name>
         <regex>\b\(Ucase\|ucase\|Lcase\|lcase\|cint\|Cint\|Server\|server\|left\|Left\|Right\|right\|response\|Response\|write\|Write\|Mid\|mid\|len\|Len\split\|Split\|readline\|ReadLine\|date\|Date\|now\|Now\)\b</regex>
         <style>function</style>
      </pattern-item>
      <pattern-item>
         <name>asp-events</name>
         <regex>\b\(application_onend\|application_onstart\|ontransactioncommit\|ontransactionabort\|session_onend\|session_onstart\)\b</regex> 
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tags1</name>
         <regex>&lt;/?\(address\|html\|ol\|ul\|li\|frameset\|frame\|head\|title\|body\|table\|tr\|td\|th\|img\|center\|div\|br\|b\|font\|a\|script\|hr\|input\|textarea\|form\|i\|p\|h[1-6]\|pre\|blockquote\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>tags2</name>
         <regex>&lt;/?\(ADDRESS\|HTML\|OL\|UL\|LI\|FRAMESET\|FRAME\|HEAD\|TITLE\|BODY\|TABLE\|TR\|TD\|TH\|IMG\|CENTER\|DIV\|BR\|B\|FONT\|A\|SCRIPT\|HR\|INPUT\|TEXTAREA\|FORM\|I\|P\|H[1-6]\|PRE\|BLOCKQUOTE\)\b</regex>
         <style>keyword</style>
      </pattern-item>
      <pattern-item>
         <name>numbers</name>
         <regex>[0-9]+\.?\b</regex>
         <style>decimal</style>
      </pattern-item>
      <pattern-item>
         <name>hex</name>
         <regex>#[a-fA-F0-9][a-fA-F0-9][a-fA-F0-9][a-fA-F0-9][a-fA-F0-9][a-fA-F0-9]</regex>
         <style>hexidecimal</style>
      </pattern-item>
      <pattern-item>
         <name>operators</name>
         <regex>\(&lt;\|&gt;\|=\|==\|@\|\*\|&lt;&lt;\|&gt;&gt;\|!\|~\|||\|&amp;&amp;\)</regex>
         <style>operator</style>
      </pattern-item>
   </pattern-items>

   <embedded-items>
      <embedded-item>
         <name>keywords1</name>
         <outside-regex>&lt;.+&gt;?</outside-regex>
         <inside-regex>\b\(address\|strong\|frameborder\|framespacing\|text\|links\|vlinks\|hidden\|method\|action\|password\|button\|value\|colspan\|rowspan\|cols\|rows\|background\|src\|border\|cellpadding\|cellspacing\|color\|vspace\|hspace\|height\|width\|marginheight\|marginwidth\|bgcolor\|size\|target\|href\|select\|option\|name\|type\|align\|valign\)\b</inside-regex>
         <style>data_type</style>
      </embedded-item>
      <embedded-item>
         <name>keywords2</name>
         <outside-regex>&lt;.+&gt;?</outside-regex>
         <inside-regex>\b\(ADDRESS\|STRONG\|FRAMEBORDER\|FRAMESPACING\|TEXT\|LINKS\|VLINKS\|HIDDEN\|METHOD\|ACTION\|PASSWORD\|BUTTON\|VALUE\|COLSPAN\|ROWSPAN\|COLS\|ROWS\|BACKGROUND\|SRC\|BORDER\|CELLPADDING\|CELLSPACING\|COLOR\|VSPACE\|HSPACE\|HEIGHT\|WIDTH\|MARGINHEIGHT\|MARGINWIDTH\|BGCOLOR\|SIZE\|TARGET\|HREF\|SELECT\|OPTION\|NAME\|TYPE\|ALIGN\|VALIGN\)\b</inside-regex>
         <style>data_type</style>
      </embedded-item>
   </embedded-items>
</glimmer-definition>
