diff options
author | Pacien TRAN-GIRARD | 2014-06-16 19:30:53 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-06-16 19:30:53 +0200 |
commit | add331408b0f207b82f3ec1b76251c700197e807 (patch) | |
tree | efee398fbd8811adbad16dbe98b1b0506dddc363 /slides/final/js/prettify/lang-tcl.js | |
parent | c59a0f4780502c949c0d19287bea51a4c40fb109 (diff) | |
download | labviewplayer-master.tar.gz |
Diffstat (limited to 'slides/final/js/prettify/lang-tcl.js')
-rw-r--r-- | slides/final/js/prettify/lang-tcl.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slides/final/js/prettify/lang-tcl.js b/slides/final/js/prettify/lang-tcl.js new file mode 100644 index 0000000..490f562 --- /dev/null +++ b/slides/final/js/prettify/lang-tcl.js | |||
@@ -0,0 +1,3 @@ | |||
1 | var a=null; | ||
2 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^{+/,a,"{"],["clo",/^}+/,a,"}"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \u00a0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,a],["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit", | ||
3 | /^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["tcl"]); | ||