Sha256: d9310bf56ae1507e27c375d8720e44994c042f3af5dd34739c3cb08062bb626c
Contents?: true
Size: 593 Bytes
Versions: 23
Compression:
Stored size: 593 Bytes
Contents
CodeMirror.defineMode("vbscript",function(){var e=/^(?:Call|Case|CDate|Clear|CInt|CLng|Const|CStr|Description|Dim|Do|Each|Else|ElseIf|End|Err|Error|Exit|False|For|Function|If|LCase|Loop|LTrim|Next|Nothing|Now|Number|On|Preserve|Quit|ReDim|Resume|RTrim|Select|Set|Sub|Then|To|Trim|True|UBound|UCase|Until|VbCr|VbCrLf|VbLf|VbTab)$/im;return{token:function(r){if(r.eatSpace())return null;var t=r.next();return"'"==t?(r.skipToEnd(),"comment"):'"'==t?(r.skipTo('"'),"string"):/\w/.test(t)&&(r.eatWhile(/\w/),e.test(r.current()))?"keyword":null}}}),CodeMirror.defineMIME("text/vbscript","vbscript");
Version data entries
23 entries across 23 versions & 1 rubygems