aboutsummaryrefslogtreecommitdiff
path: root/js/prettify/lang-vb.js
diff options
context:
space:
mode:
authorEric Bidelman2012-04-08 17:50:49 -0700
committerEric Bidelman2012-04-08 17:50:49 -0700
commitdb92c5e0c26ba0bb545993bb48533d39f1934b95 (patch)
treeccdf3b9ee4c54923fadaf4fe43979b2997e27342 /js/prettify/lang-vb.js
parent1a10348622e92803cc9a90ec4369bb6974cc5329 (diff)
downloadio-slides-remote-db92c5e0c26ba0bb545993bb48533d39f1934b95.tar.gz
Adding prettyprint. Clean up old files
Diffstat (limited to 'js/prettify/lang-vb.js')
-rw-r--r--js/prettify/lang-vb.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/prettify/lang-vb.js b/js/prettify/lang-vb.js
new file mode 100644
index 0000000..07506b0
--- /dev/null
+++ b/js/prettify/lang-vb.js
@@ -0,0 +1,2 @@
1PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0\u2028\u2029]+/,null,"\t\n\r \xa0

"],["str",/^(?:["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})(?:["\u201c\u201d]c|$)|["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})*(?:["\u201c\u201d]|$))/i,null,'"“”'],["com",/^['\u2018\u2019].*/,null,"'‘’"]],[["kwd",/^(?:addhandler|addressof|alias|and|andalso|ansi|as|assembly|auto|boolean|byref|byte|byval|call|case|catch|cbool|cbyte|cchar|cdate|cdbl|cdec|char|cint|class|clng|cobj|const|cshort|csng|cstr|ctype|date|decimal|declare|default|delegate|dim|directcast|do|double|each|else|elseif|end|endif|enum|erase|error|event|exit|finally|for|friend|function|get|gettype|gosub|goto|handles|if|implements|imports|in|inherits|integer|interface|is|let|lib|like|long|loop|me|mod|module|mustinherit|mustoverride|mybase|myclass|namespace|new|next|not|notinheritable|notoverridable|object|on|option|optional|or|orelse|overloads|overridable|overrides|paramarray|preserve|private|property|protected|public|raiseevent|readonly|redim|removehandler|resume|return|select|set|shadows|shared|short|single|static|step|stop|string|structure|sub|synclock|then|throw|to|try|typeof|unicode|until|variant|wend|when|while|with|withevents|writeonly|xor|endif|gosub|let|variant|wend)\b/i,
2null],["com",/^rem.*/i],["lit",/^(?:true\b|false\b|nothing\b|\d+(?:e[+-]?\d+[dfr]?|[dfilrs])?|(?:&h[\da-f]+|&o[0-7]+)[ils]?|\d*\.\d+(?:e[+-]?\d+)?[dfr]?|#\s+(?:\d+[/-]\d+[/-]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:am|pm))?)?|\d+:\d+(?::\d+)?(\s*(?:am|pm))?)\s+#)/i],["pln",/^(?:(?:[a-z]|_\w)\w*|\[(?:[a-z]|_\w)\w*])/i],["pun",/^[^\w\t\n\r "'[\]\xa0\u2018\u2019\u201c\u201d\u2028\u2029]+/],["pun",/^(?:\[|])/]]),["vb","vbs"]);