couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [32/51] [partial] working replacement
Date Tue, 29 Oct 2013 15:40:17 GMT
http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rdoc.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rdoc.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rdoc.json
new file mode 100644
index 0000000..0c75743
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rdoc.json
@@ -0,0 +1,441 @@
+[[
+   "start",
+  ["keyword","\\name"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","picker"],
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["keyword","\\alias"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","picker"],
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["keyword","\\title"],
+  ["paren.keyword.operator","{"],
+  ["text","Create a picker control"],
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["keyword","\\description"],
+  ["paren.keyword.operator","{"]
+],[
+   "start",
+  ["text","  Create a picker control to enable manipulation of plot variables based on a set of fixed choices."]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start"
+],[
+   "nospell",
+  ["keyword","\\usage"],
+  ["paren.keyword.operator","{"]
+],[
+   "nospell",
+  ["nospell.text","picker"],
+  ["paren.keyword.operator","("],
+  ["text","...,"],
+  ["nospell.text"," initial "],
+  ["text","="],
+  ["nospell.text"," NULL"],
+  ["text",","],
+  ["nospell.text"," label "],
+  ["text","="],
+  ["nospell.text"," NULL"],
+  ["paren.keyword.operator",")"]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start"
+],[
+   "start"
+],[
+   "start",
+  ["keyword","\\arguments"],
+  ["paren.keyword.operator","{"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","\\item"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\dots"],
+  ["paren.keyword.operator","}{"]
+],[
+   "start",
+  ["text","    Arguments containing objects to be presented as choices for the picker "],
+  ["paren.keyword.operator","("],
+  ["text","or a list containing the choices"],
+  ["paren.keyword.operator",")"],
+  ["text",". If an element is named then the name is used to display it within the picker. If an element is not named then it is displayed within the picker using "],
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","as"],
+  ["text","."],
+  ["nospell.text","character"],
+  ["paren.keyword.operator","}}"],
+  ["text",". "]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","\\item"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","initial"],
+  ["paren.keyword.operator","}{"]
+],[
+   "start",
+  ["text","    Initial value for picker. Value must be present in the list of choices specified. If not specified defaults to the first choice."]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","\\item"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","label"],
+  ["paren.keyword.operator","}{"]
+],[
+   "start",
+  ["text","    Display label for picker. Defaults to the variable name if not specified."]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","\\value"],
+  ["paren.keyword.operator","{"]
+],[
+   "start",
+  ["text","  An object of class \"manipulator.picker\" which can be passed to the "],
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","}}"],
+  ["text"," function."]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","\\seealso"],
+  ["paren.keyword.operator","{"]
+],[
+   "start",
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","}}"],
+  ["text",", "],
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","slider"],
+  ["paren.keyword.operator","}}"],
+  ["text",", "],
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","checkbox"],
+  ["paren.keyword.operator","}}"],
+  ["text",", "],
+  ["keyword","\\code"],
+  ["paren.keyword.operator","{"],
+  ["keyword","\\link"],
+  ["paren.keyword.operator","{"],
+  ["nospell.text","button"],
+  ["paren.keyword.operator","}}"]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start"
+],[
+   "start"
+],[
+   "nospell",
+  ["keyword","\\examples"],
+  ["paren.keyword.operator","{"]
+],[
+   "nospell",
+  ["keyword","\\dontrun"],
+  ["paren.keyword.operator","{"]
+],[
+   "nospell"
+],[
+   "nospell",
+  ["text","##"],
+  ["nospell.text"," Filtering data with a picker"]
+],[
+   "nospell",
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","("]
+],[
+   "nospell",
+  ["nospell.text","  barplot"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","as"],
+  ["text","."],
+  ["nospell.text","matrix"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","longley"],
+  ["paren.keyword.operator","["],
+  ["text",","],
+  ["nospell.text","factor"],
+  ["paren.keyword.operator","])"],
+  ["text",","],
+  ["nospell.text"," "]
+],[
+   "nospell",
+  ["nospell.text","          beside "],
+  ["text","="],
+  ["nospell.text"," TRUE"],
+  ["text",","],
+  ["nospell.text"," main "],
+  ["text","="],
+  ["nospell.text"," factor"],
+  ["paren.keyword.operator",")"],
+  ["text",","]
+],[
+   "nospell",
+  ["nospell.text","  factor "],
+  ["text","="],
+  ["nospell.text"," picker"],
+  ["paren.keyword.operator","("],
+  ["text","\""],
+  ["nospell.text","GNP"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","Unemployed"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","Employed"],
+  ["text","\""],
+  ["paren.keyword.operator","))"]
+],[
+   "nospell"
+],[
+   "nospell",
+  ["text","##"],
+  ["nospell.text"," Create a picker with labels"]
+],[
+   "nospell",
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","("]
+],[
+   "nospell",
+  ["nospell.text","  plot"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","pressure"],
+  ["text",","],
+  ["nospell.text"," type "],
+  ["text","="],
+  ["nospell.text"," type"],
+  ["paren.keyword.operator",")"],
+  ["text",","],
+  ["nospell.text"," "]
+],[
+   "nospell",
+  ["nospell.text","  type "],
+  ["text","="],
+  ["nospell.text"," picker"],
+  ["paren.keyword.operator","("],
+  ["text","\""],
+  ["nospell.text","points"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","p"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","line"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","l"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","step"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","s"],
+  ["text","\""],
+  ["paren.keyword.operator","))"]
+],[
+   "nospell",
+  ["nospell.text","  "]
+],[
+   "nospell",
+  ["text","##"],
+  ["nospell.text"," Picker with groups"]
+],[
+   "nospell",
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","("]
+],[
+   "nospell",
+  ["nospell.text","  barplot"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","as"],
+  ["text","."],
+  ["nospell.text","matrix"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","mtcars"],
+  ["paren.keyword.operator","["],
+  ["nospell.text","group"],
+  ["text",",\""],
+  ["nospell.text","mpg"],
+  ["text","\""],
+  ["paren.keyword.operator","])"],
+  ["text",","],
+  ["nospell.text"," beside"],
+  ["text","="],
+  ["nospell.text","TRUE"],
+  ["paren.keyword.operator",")"],
+  ["text",","]
+],[
+   "nospell",
+  ["nospell.text","  group "],
+  ["text","="],
+  ["nospell.text"," picker"],
+  ["paren.keyword.operator","("],
+  ["text","\""],
+  ["nospell.text","Group 1"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," 1"],
+  ["text",":"],
+  ["nospell.text","11"],
+  ["text",","],
+  ["nospell.text"," "]
+],[
+   "nospell",
+  ["nospell.text","                 "],
+  ["text","\""],
+  ["nospell.text","Group 2"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," 12"],
+  ["text",":"],
+  ["nospell.text","22"],
+  ["text",","],
+  ["nospell.text"," "]
+],[
+   "nospell",
+  ["nospell.text","                 "],
+  ["text","\""],
+  ["nospell.text","Group 3"],
+  ["text","\""],
+  ["nospell.text"," "],
+  ["text","="],
+  ["nospell.text"," 23"],
+  ["text",":"],
+  ["nospell.text","32"],
+  ["paren.keyword.operator","))"]
+],[
+   "nospell"
+],[
+   "nospell",
+  ["text","##"],
+  ["nospell.text"," Histogram w"],
+  ["text","/"],
+  ["nospell.text"," picker to select type"]
+],[
+   "nospell",
+  ["nospell.text","require"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","lattice"],
+  ["paren.keyword.operator",")"]
+],[
+   "nospell",
+  ["nospell.text","require"],
+  ["paren.keyword.operator","("],
+  ["nospell.text","stats"],
+  ["paren.keyword.operator",")"]
+],[
+   "nospell",
+  ["nospell.text","manipulate"],
+  ["paren.keyword.operator","("]
+],[
+   "nospell",
+  ["nospell.text","  histogram"],
+  ["paren.keyword.operator","("],
+  ["text","~"],
+  ["nospell.text"," height "],
+  ["text","|"],
+  ["nospell.text"," voice"],
+  ["text","."],
+  ["nospell.text","part"],
+  ["text",","],
+  ["nospell.text"," "]
+],[
+   "nospell",
+  ["nospell.text","            data "],
+  ["text","="],
+  ["nospell.text"," singer"],
+  ["text",","],
+  ["nospell.text"," type "],
+  ["text","="],
+  ["nospell.text"," type"],
+  ["paren.keyword.operator",")"],
+  ["text",","]
+],[
+   "nospell",
+  ["nospell.text","  type "],
+  ["text","="],
+  ["nospell.text"," picker"],
+  ["paren.keyword.operator","("],
+  ["text","\""],
+  ["nospell.text","percent"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","count"],
+  ["text","\","],
+  ["nospell.text"," "],
+  ["text","\""],
+  ["nospell.text","density"],
+  ["text","\""],
+  ["paren.keyword.operator","))"]
+],[
+   "nospell"
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+],[
+   "start",
+  ["paren.keyword.operator","}"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rhtml.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rhtml.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rhtml.json
new file mode 100644
index 0000000..6dca1c5
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rhtml.json
@@ -0,0 +1,106 @@
+[[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","html"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","head"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","title"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","Title"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","title"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","head"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","body"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","p"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","This is an R HTML document. When you click the "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","b"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","Knit HTML"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","b"],
+  ["meta.tag.punctuation.end",">"],
+  ["text"," button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","p"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "r-start",
+  ["support.function.codebegin","<!--begin.rcode"]
+],[
+   "r-start",
+  ["identifier","summary"],
+  ["paren.keyword.operator","("],
+  ["identifier","cars"],
+  ["paren.keyword.operator",")"]
+],[
+   "start",
+  ["support.function.codeend","end.rcode-->"]
+],[
+   "start"
+],[
+   "start",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","p"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","You can also embed plots, for example:"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","p"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "r-start",
+  ["support.function.codebegin","<!--begin.rcode fig.width=7, fig.height=6"]
+],[
+   "r-start",
+  ["identifier","plot"],
+  ["paren.keyword.operator","("],
+  ["identifier","cars"],
+  ["paren.keyword.operator",")"]
+],[
+   "start",
+  ["support.function.codeend","end.rcode-->"]
+],[
+   "start"
+],[
+   "start",
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","body"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","html"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ruby.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ruby.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ruby.json
new file mode 100644
index 0000000..19b98b7
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_ruby.json
@@ -0,0 +1,232 @@
+[[
+   "start",
+  ["text"," "],
+  ["comment","#test: symbol tokenizer"]
+],[
+   "start",
+  ["text","  "],
+  ["paren.lparen","["],
+  ["constant.other.symbol.ruby",":@thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":$thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":_thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":Thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing1"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing_a"],
+  ["text",","]
+],[
+   "start",
+  ["text","              "],
+  ["constant.other.symbol.ruby",":THING"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing!"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing="],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing?"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":t?"],
+  ["text",","]
+],[
+   "start",
+  ["text","              :, :@, :"],
+  ["keyword.operator","$"],
+  ["text",", :"],
+  ["constant.numeric","1"],
+  ["text",", :1"],
+  ["identifier","thing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":th?"],
+  ["identifier","ing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thi="],
+  ["identifier","ng"],
+  ["text",", :1"],
+  ["identifier","thing"],
+  ["text",","]
+],[
+   "start",
+  ["text","            "],
+  ["constant.other.symbol.ruby",":th!"],
+  ["identifier","ing"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":thing"],
+  ["comment","#"]
+],[
+   "start",
+  ["text","    "],
+  ["paren.rparen","]"]
+],[
+   "start"
+],[
+   "start",
+  ["text"," "],
+  ["comment","#test: namespaces aren't symbols\" : function() {"]
+],[
+   "start",
+  ["text","   "],
+  ["support.class","Namespaced"],
+  ["text","::"],
+  ["support.class","Class"]
+],[
+   "start",
+  ["text"," "],
+  ["comment","#test: hex tokenizer "]
+],[
+   "start",
+  ["text","    "],
+  ["constant.numeric","0x9a"],
+  ["text",", "],
+  ["constant.numeric","0XA1"],
+  ["text",", "],
+  ["constant.numeric","0x9_a"],
+  ["text",", 0"],
+  ["identifier","x"],
+  ["text",", 0"],
+  ["identifier","x_9a"],
+  ["text",", 0"],
+  ["identifier","x9a_"],
+  ["text",","]
+],[
+   "start",
+  ["text"," "],
+  ["comment","#test: float tokenizer"]
+],[
+   "start",
+  ["text","    "],
+  ["paren.lparen","["],
+  ["constant.numeric","1"],
+  ["text",", "],
+  ["constant.numeric","+1"],
+  ["text",", "],
+  ["constant.numeric","-1"],
+  ["text",", "],
+  ["constant.numeric","12_345"],
+  ["text",", "],
+  ["constant.numeric","0.000_1"],
+  ["text",","]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","_"],
+  ["text",", "],
+  ["constant.numeric","3_1"],
+  ["text",", "],
+  ["constant.numeric","1_2"],
+  ["text",", 1"],
+  ["identifier","_"],
+  ["text","."],
+  ["constant.numeric","0"],
+  ["text",", "],
+  ["constant.numeric","0"],
+  ["text","."],
+  ["identifier","_1"],
+  ["paren.rparen","]"],
+  ["text",";"]
+],[
+   "start",
+  ["text"," "]
+],[
+   "start",
+  ["paren.lparen","{"],
+  ["constant.other.symbol.ruby",":id"],
+  ["text"," "],
+  ["punctuation.separator.key-value","=>"],
+  ["text"," "],
+  ["constant.numeric","34"],
+  ["text",", "],
+  ["constant.other.symbol.ruby",":key"],
+  ["text"," "],
+  ["punctuation.separator.key-value","=>"],
+  ["text"," "],
+  ["string","\"value\""],
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "comment",
+  ["comment","=begin"]
+],[
+   "start",
+  ["comment","=end"]
+],[
+   "start"
+],[
+   "comment",
+  ["comment","=begin x"]
+],[
+   "comment",
+  ["comment","=end-"]
+],[
+   "start",
+  ["comment","=end   x"]
+],[
+   "start"
+],[
+   ["heredoc","FOO","heredoc","BAR","indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["text","    "],
+  ["identifier","herDocs"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["paren.lparen","["],
+  ["constant","<<"],
+  ["string","'"],
+  ["support.class","FOO"],
+  ["string","'"],
+  ["text",", "],
+  ["constant","<<"],
+  ["string",""],
+  ["support.class","BAR"],
+  ["string",""],
+  ["text",", "],
+  ["constant","<<-"],
+  ["string",""],
+  ["support.class","BAZ"],
+  ["string",""],
+  ["text",", "],
+  ["constant","<<-"],
+  ["string","`"],
+  ["support.class","EXEC"],
+  ["string","`"],
+  ["paren.rparen","]"],
+  ["text"," "],
+  ["comment","#comment"]
+],[
+   ["heredoc","FOO","heredoc","BAR","indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["string","  FOO #{literal}"]
+],[
+   ["heredoc","BAR","indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["support.class","FOO"]
+],[
+   ["heredoc","BAR","indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["string","  BAR #{fact(10)}"]
+],[
+   ["indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["support.class","BAR"]
+],[
+   ["indentedHeredoc","BAZ","indentedHeredoc","EXEC"],
+  ["string","  BAZ indented"]
+],[
+   ["indentedHeredoc","EXEC"],
+  ["string","    "],
+  ["support.class","BAZ"]
+],[
+   ["indentedHeredoc","EXEC"],
+  ["string","        echo hi"]
+],[
+   "start",
+  ["string","    "],
+  ["support.class","EXEC"]
+],[
+   "start",
+  ["support.function","puts"],
+  ["text"," "],
+  ["identifier","herDocs"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rust.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rust.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rust.json
new file mode 100644
index 0000000..6592575
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_rust.json
@@ -0,0 +1,136 @@
+[[
+   "start",
+  ["keyword.source.rust","use"],
+  ["text"," "],
+  ["support.constant","core::rand::"],
+  ["text","RngUtil"],
+  ["keyword.operator",";"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword.source.rust","fn"],
+  ["meta.function.source.rust"," "],
+  ["entity.name.function.source.rust","main"],
+  ["meta.function.source.rust","("],
+  ["text",") {"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword.source.rust","for"],
+  ["text"," ["],
+  ["string.quoted.double.source.rust","\"Alice\""],
+  ["keyword.operator",","],
+  ["text"," "],
+  ["string.quoted.double.source.rust","\"Bob\""],
+  ["keyword.operator",","],
+  ["text"," "],
+  ["string.quoted.double.source.rust","\"Carol\""],
+  ["text","].each |&name| {"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword.source.rust","do"],
+  ["text"," spawn {"]
+],[
+   "start",
+  ["text","            "],
+  ["keyword.source.rust","let"],
+  ["text"," v "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["support.constant","rand::"],
+  ["text","Rng().shuffle(["],
+  ["constant.numeric.integer.source.rust","1"],
+  ["keyword.operator",","],
+  ["text"," "],
+  ["constant.numeric.integer.source.rust","2"],
+  ["keyword.operator",","],
+  ["text"," "],
+  ["constant.numeric.integer.source.rust","3"],
+  ["text","])"],
+  ["keyword.operator",";"]
+],[
+   "start",
+  ["text","            "],
+  ["keyword.source.rust","for"],
+  ["text"," v.each |&num| {"]
+],[
+   "start",
+  ["text","                print(fmt"],
+  ["keyword.operator","!"],
+  ["text","("],
+  ["string.quoted.double.source.rust","\"%s says: '%d'"],
+  ["constant.character.escape.source.rust","\\n"],
+  ["string.quoted.double.source.rust","\""],
+  ["keyword.operator",","],
+  ["text"," name"],
+  ["keyword.operator",","],
+  ["text"," num "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["constant.numeric.integer.source.rust","1"],
+  ["text","))"]
+],[
+   "start",
+  ["text","            }"]
+],[
+   "start",
+  ["text","        }"]
+],[
+   "start",
+  ["text","    }"]
+],[
+   "start",
+  ["text","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword.source.rust","fn"],
+  ["meta.function.source.rust"," "],
+  ["entity.name.function.source.rust","map<T, U>"],
+  ["meta.function.source.rust","("],
+  ["text","vector: &[T]"],
+  ["keyword.operator",","],
+  ["text"," function: &fn(v: &T) "],
+  ["keyword.operator","->"],
+  ["text"," U) "],
+  ["keyword.operator","->"],
+  ["text"," ~[U] {"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword.source.rust","let"],
+  ["text"," "],
+  ["keyword.source.rust","mut"],
+  ["text"," accumulator "],
+  ["keyword.operator","="],
+  ["text"," ~[]"],
+  ["keyword.operator",";"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword.source.rust","for"],
+  ["text"," "],
+  ["support.constant","vec::"],
+  ["text","each(vector) |element| {"]
+],[
+   "start",
+  ["text","        accumulator.push(function(element))"],
+  ["keyword.operator",";"]
+],[
+   "start",
+  ["text","    }"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword.source.rust","return"],
+  ["text"," accumulator"],
+  ["keyword.operator",";"]
+],[
+   "start",
+  ["text","}"]
+],[
+   "start"
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sass.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sass.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sass.json
new file mode 100644
index 0000000..c0b8568
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sass.json
@@ -0,0 +1,229 @@
+[[
+   "start",
+  ["comment","// sass ace mode;"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","@import"],
+  ["text"," "],
+  ["support.function","url("],
+  ["string","http://fonts.googleapis.com/css?family=Ace:700"],
+  ["support.function",")"]
+],[
+   "start"
+],[
+   "start",
+  ["variable.language","html"],
+  ["text",", "],
+  ["variable.language","body"]
+],[
+   "start",
+  ["support.type","  :background-color "],
+  ["constant.numeric","#ace"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","text-align"],
+  ["text",": "],
+  ["constant.language","center"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","height"],
+  ["text",": "],
+  ["constant.numeric","100%"]
+],[
+   ["comment",-1,2,"start"],
+  ["comment","  /*;*********;"]
+],[
+   ["comment",3,2,"start"],
+  ["comment","    ;comment  ;"]
+],[
+   ["comment",3,2,"start"],
+  ["comment","    ;*********;"]
+],[
+   "start"
+],[
+   "start",
+  ["variable.language",".toggle"]
+],[
+   "start",
+  ["text","  "],
+  ["variable","$size"],
+  ["text",": "],
+  ["constant.numeric","14px"]
+],[
+   "start"
+],[
+   "start",
+  ["support.type","  :background "],
+  ["support.function","url("],
+  ["string","http://subtlepatterns.com/patterns/dark_stripes.png"],
+  ["support.function",")"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","border-radius"],
+  ["text",": "],
+  ["constant.numeric","8px"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","height"],
+  ["text",": "],
+  ["variable","$size"]
+],[
+   "start"
+],[
+   "start",
+  ["text","  &"],
+  ["variable.language",":before"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","$radius"],
+  ["text",": "],
+  ["variable","$size"],
+  ["text"," "],
+  ["keyword.operator","*"],
+  ["text"," "],
+  ["constant.numeric","0.845"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","$glow"],
+  ["text",": "],
+  ["variable","$size"],
+  ["text"," "],
+  ["keyword.operator","*"],
+  ["text"," "],
+  ["constant.numeric","0.125"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    "],
+  ["support.type","box-shadow"],
+  ["text",": "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["variable","$glow"],
+  ["text"," "],
+  ["variable","$glow"],
+  ["text"," / "],
+  ["constant.numeric","2"],
+  ["text"," "],
+  ["constant.numeric","#fff"]
+],[
+   "start",
+  ["text","    "],
+  ["support.type","border-radius"],
+  ["text",": "],
+  ["variable","$radius"]
+],[
+   "start",
+  ["text","    "]
+],[
+   "start",
+  ["text","    &"],
+  ["variable.language",":active"]
+],[
+   "start",
+  ["text","      ~ "],
+  ["variable.language",".button"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","box-shadow"],
+  ["text",": "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","15px"],
+  ["text"," "],
+  ["constant.numeric","25px"],
+  ["text"," "],
+  ["constant.numeric","-4px"],
+  ["text"," "],
+  ["support.function","rgba"],
+  ["paren.lparen","("],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0.4"],
+  ["paren.rparen",")"],
+  ["text","      "]
+],[
+   "start",
+  ["text","      ~ "],
+  ["variable.language",".label"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","font-size"],
+  ["text",": "],
+  ["constant.numeric","40px"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","color"],
+  ["text",": "],
+  ["support.function","rgba"],
+  ["paren.lparen","("],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0.45"],
+  ["paren.rparen",")"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    &"],
+  ["variable.language",":checked"],
+  ["text","      "]
+],[
+   "start",
+  ["text","      ~ "],
+  ["variable.language",".button"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","box-shadow"],
+  ["text",": "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","15px"],
+  ["text"," "],
+  ["constant.numeric","25px"],
+  ["text"," "],
+  ["constant.numeric","-4px"],
+  ["text"," "],
+  ["constant.numeric","#ace"]
+],[
+   "start",
+  ["text","      ~ "],
+  ["variable.language",".label"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","font-size"],
+  ["text",": "],
+  ["constant.numeric","40px"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","color"],
+  ["text",": "],
+  ["constant.numeric","#c9c9c9"]
+],[
+   "start"
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scad.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scad.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scad.json
new file mode 100644
index 0000000..8f0ff63
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scad.json
@@ -0,0 +1,194 @@
+[[
+   "start",
+  ["comment","// ace can highlight scad!"]
+],[
+   "start",
+  ["keyword","module"],
+  ["text"," "],
+  ["identifier","Element"],
+  ["paren.lparen","("],
+  ["identifier","xpos"],
+  ["text",", "],
+  ["identifier","ypos"],
+  ["text",", "],
+  ["identifier","zpos"],
+  ["paren.rparen",")"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t"],
+  ["identifier","translate"],
+  ["paren.lparen","(["],
+  ["identifier","xpos"],
+  ["text",","],
+  ["identifier","ypos"],
+  ["text",","],
+  ["identifier","zpos"],
+  ["paren.rparen","])"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t\t"],
+  ["identifier","union"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t\t\t"],
+  ["identifier","cube"],
+  ["paren.lparen","(["],
+  ["constant.numeric","10"],
+  ["text",","],
+  ["constant.numeric","10"],
+  ["text",","],
+  ["constant.numeric","4"],
+  ["paren.rparen","]"],
+  ["text",","],
+  ["identifier","true"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","\t\t\t"],
+  ["identifier","cylinder"],
+  ["paren.lparen","("],
+  ["constant.numeric","10"],
+  ["text",","],
+  ["constant.numeric","15"],
+  ["text",","],
+  ["constant.numeric","5"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","\t\t\t"],
+  ["identifier","translate"],
+  ["paren.lparen","(["],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","10"],
+  ["paren.rparen","])"],
+  ["identifier","sphere"],
+  ["paren.lparen","("],
+  ["constant.numeric","5"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","\t\t"],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","\t"],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "start",
+  ["identifier","union"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t"],
+  ["keyword","for"],
+  ["paren.lparen","("],
+  ["identifier","i"],
+  ["keyword.operator","="],
+  ["paren.lparen","["],
+  ["constant.numeric","0"],
+  ["text",":"],
+  ["constant.numeric","30"],
+  ["paren.rparen","])"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t\t# "],
+  ["identifier","Element"],
+  ["paren.lparen","("],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","\t\t"],
+  ["identifier","Element"],
+  ["paren.lparen","("],
+  ["constant.numeric","15"],
+  ["keyword.operator","*"],
+  ["identifier","i"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","\t"],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","for"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","i"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["paren.lparen","["],
+  ["constant.numeric","3"],
+  ["text",", "],
+  ["constant.numeric","5"],
+  ["text",", "],
+  ["constant.numeric","7"],
+  ["text",", "],
+  ["constant.numeric","11"],
+  ["paren.rparen","])"],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","\t"],
+  ["identifier","rotate"],
+  ["paren.lparen","(["],
+  ["identifier","i"],
+  ["keyword.operator","*"],
+  ["constant.numeric","10"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["text",","],
+  ["constant.numeric","0"],
+  ["paren.rparen","])"],
+  ["identifier","scale"],
+  ["paren.lparen","(["],
+  ["constant.numeric","1"],
+  ["text",","],
+  ["constant.numeric","1"],
+  ["text",","],
+  ["identifier","i"],
+  ["paren.rparen","])"],
+  ["identifier","cube"],
+  ["paren.lparen","("],
+  ["constant.numeric","10"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["paren.rparen","}"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scala.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scala.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scala.json
new file mode 100644
index 0000000..01dd3ce
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scala.json
@@ -0,0 +1,542 @@
+[[
+   "start",
+  ["comment","// http://www.scala-lang.org/node/54"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","package"],
+  ["text"," "],
+  ["identifier","examples"],
+  ["text","."],
+  ["identifier","actors"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","import"],
+  ["text"," "],
+  ["identifier","scala"],
+  ["text","."],
+  ["identifier","actors"],
+  ["text","."],
+  ["identifier","Actor"]
+],[
+   "start",
+  ["keyword","import"],
+  ["text"," "],
+  ["identifier","scala"],
+  ["text","."],
+  ["identifier","actors"],
+  ["text","."],
+  ["identifier","Actor"],
+  ["text","."],
+  ["identifier","_"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","abstract"],
+  ["text"," "],
+  ["keyword","class"],
+  ["text"," "],
+  ["identifier","PingMessage"]
+],[
+   "start",
+  ["keyword","case"],
+  ["text"," "],
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","Start"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","PingMessage"]
+],[
+   "start",
+  ["keyword","case"],
+  ["text"," "],
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","SendPing"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","PingMessage"]
+],[
+   "start",
+  ["keyword","case"],
+  ["text"," "],
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","Pong"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","PingMessage"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","abstract"],
+  ["text"," "],
+  ["keyword","class"],
+  ["text"," "],
+  ["identifier","PongMessage"]
+],[
+   "start",
+  ["keyword","case"],
+  ["text"," "],
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","Ping"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","PongMessage"]
+],[
+   "start",
+  ["keyword","case"],
+  ["text"," "],
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","Stop"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","PongMessage"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","object"],
+  ["text"," "],
+  ["identifier","pingpong"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","Application"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","val"],
+  ["text"," "],
+  ["identifier","pong"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["keyword","new"],
+  ["text"," "],
+  ["identifier","Pong"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","val"],
+  ["text"," "],
+  ["identifier","ping"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["keyword","new"],
+  ["text"," "],
+  ["identifier","Ping"],
+  ["paren.lparen","("],
+  ["constant.numeric","100000"],
+  ["text",", "],
+  ["identifier","pong"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","  "],
+  ["identifier","ping"],
+  ["text","."],
+  ["identifier","start"]
+],[
+   "start",
+  ["text","  "],
+  ["identifier","pong"],
+  ["text","."],
+  ["identifier","start"]
+],[
+   "start",
+  ["text","  "],
+  ["identifier","ping"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","Start"]
+],[
+   "start",
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","class"],
+  ["text"," "],
+  ["identifier","Ping"],
+  ["paren.lparen","("],
+  ["identifier","count"],
+  ["text",": "],
+  ["support.function","Int"],
+  ["text",", "],
+  ["identifier","pong"],
+  ["text",": "],
+  ["identifier","Actor"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","Actor"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","def"],
+  ["text"," "],
+  ["identifier","act"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Ping: Initializing with count \""],
+  ["keyword.operator","+"],
+  ["identifier","count"],
+  ["keyword.operator","+"],
+  ["string","\": \""],
+  ["keyword.operator","+"],
+  ["identifier","pong"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword","var"],
+  ["text"," "],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","count"]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","loop"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","      "],
+  ["identifier","react"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword","case"],
+  ["text"," "],
+  ["identifier","Start"],
+  ["text"," "],
+  ["keyword.operator","=>"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Ping: starting.\""],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","pong"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","Ping"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword","case"],
+  ["text"," "],
+  ["identifier","SendPing"],
+  ["text"," "],
+  ["keyword.operator","=>"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","pong"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","Ping"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword","case"],
+  ["text"," "],
+  ["identifier","Pong"],
+  ["text"," "],
+  ["keyword.operator","=>"]
+],[
+   "start",
+  ["text","          "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator","%"],
+  ["text"," "],
+  ["constant.numeric","1000"],
+  ["text"," "],
+  ["keyword.operator","=="],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Ping: pong from: \""],
+  ["keyword.operator","+"],
+  ["identifier","sender"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","          "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","pingsLeft"],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","self"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","SendPing"]
+],[
+   "start",
+  ["text","          "],
+  ["keyword","else"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Ping: Stop.\""],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","pong"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","Stop"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","exit"],
+  ["paren.lparen","("],
+  ["symbol.constant","'stop"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","          "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","      "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","    "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","  "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","class"],
+  ["text"," "],
+  ["identifier","Pong"],
+  ["text"," "],
+  ["keyword","extends"],
+  ["text"," "],
+  ["identifier","Actor"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword","def"],
+  ["text"," "],
+  ["identifier","act"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword","var"],
+  ["text"," "],
+  ["identifier","pongCount"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["constant.numeric","0"]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","loop"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","      "],
+  ["identifier","react"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword","case"],
+  ["text"," "],
+  ["identifier","Ping"],
+  ["text"," "],
+  ["keyword.operator","=>"]
+],[
+   "start",
+  ["text","          "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","pongCount"],
+  ["text"," "],
+  ["keyword.operator","%"],
+  ["text"," "],
+  ["constant.numeric","1000"],
+  ["text"," "],
+  ["keyword.operator","=="],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","            "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Pong: ping \""],
+  ["keyword.operator","+"],
+  ["identifier","pongCount"],
+  ["keyword.operator","+"],
+  ["string","\" from \""],
+  ["keyword.operator","+"],
+  ["identifier","sender"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","sender"],
+  ["text"," "],
+  ["keyword.operator","!"],
+  ["text"," "],
+  ["identifier","Pong"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","pongCount"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","pongCount"],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","        "],
+  ["keyword","case"],
+  ["text"," "],
+  ["identifier","Stop"],
+  ["text"," "],
+  ["keyword.operator","=>"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","println"],
+  ["paren.lparen","("],
+  ["string","\"Pong: Stop.\""],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","          "],
+  ["identifier","exit"],
+  ["paren.lparen","("],
+  ["symbol.constant","'stop"],
+  ["paren.rparen",")"]
+],[
+   "start",
+  ["text","      "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","    "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","  "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["paren.rparen","}"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scheme.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scheme.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scheme.json
new file mode 100644
index 0000000..42f4aa6
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scheme.json
@@ -0,0 +1,216 @@
+[[
+   "start",
+  ["text","("],
+  ["storage.type.function-type.scheme","define"],
+  ["text"," "],
+  ["text","("],
+  ["identifier","prompt-for-cd"],
+  ["text",")"]
+],[
+   "start",
+  ["text","   "],
+  ["string","\"Prompts"]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","for"],
+  ["text"," "],
+  ["identifier","CD"],
+  ["text","\""]
+],[
+   "start",
+  ["text","   ("],
+  ["identifier","prompt-read"],
+  ["text"," "],
+  ["string","\"Title\""],
+  ["text"," "],
+  ["constant.numeric","1.53"],
+  ["text"," "],
+  ["constant.numeric","1"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["text","/"],
+  ["constant.numeric","4"],
+  ["text"," "],
+  ["constant.numeric","1.7"],
+  ["text"," "],
+  ["constant.numeric","1.7e0"],
+  ["text"," "],
+  ["constant.numeric","2.9E-4"],
+  ["text"," "],
+  ["constant.numeric","+42"],
+  ["text"," "],
+  ["constant.numeric","-7"],
+  ["text"," "],
+  ["constant.numeric","#b001"],
+  ["text"," "],
+  ["constant.numeric","#b001"],
+  ["text","/"],
+  ["constant.numeric","100"],
+  ["text"," "],
+  ["constant.numeric","#o777"],
+  ["text"," "],
+  ["constant.numeric","#O777"],
+  ["text"," "],
+  ["constant.numeric","#xabc55"],
+  ["text"," "],
+  ["identifier","#c"],
+  ["text","("],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","-5.6"],
+  ["text","))"]
+],[
+   "start",
+  ["text","   ("],
+  ["identifier","prompt-read"],
+  ["text"," "],
+  ["string","\"Artist\""],
+  ["text",")"]
+],[
+   "start",
+  ["text","   ("],
+  ["keyword.operator","or"],
+  ["text"," ("],
+  ["identifier","parse-integer"],
+  ["text"," ("],
+  ["identifier","prompt-read"],
+  ["text"," "],
+  ["string","\"Rating\""],
+  ["text",") "],
+  ["punctuation.definition.constant.character.scheme","#:junk-allowed"],
+  ["text"," "],
+  ["constant.language","#t"],
+  ["text",") "],
+  ["constant.numeric","0"],
+  ["text",")"]
+],[
+   "start",
+  ["text","  ("],
+  ["keyword.control","if"],
+  ["text"," "],
+  ["identifier","x"],
+  ["text"," ("],
+  ["support.function","format"],
+  ["text"," "],
+  ["constant.language","#t"],
+  ["text"," "],
+  ["string","\"yes\""],
+  ["text",") ("],
+  ["support.function","format"],
+  ["text"," "],
+  ["constant.language","#f"],
+  ["text"," "],
+  ["string","\"no\""],
+  ["text",") "],
+  ["comment",";and here comment"]
+],[
+   "start",
+  ["text","  ) "]
+],[
+   "start",
+  ["text","  "],
+  ["comment",";; second line comment"]
+],[
+   "start",
+  ["text","  '(+ "],
+  ["constant.numeric","1"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["text",")"]
+],[
+   "start",
+  ["text","  ("],
+  ["identifier","position-if-not"],
+  ["text"," "],
+  ["identifier","char-set"],
+  ["text",":"],
+  ["identifier","whitespace"],
+  ["text"," "],
+  ["identifier","line"],
+  ["text"," "],
+  ["punctuation.definition.constant.character.scheme","#:start"],
+  ["text"," "],
+  ["identifier","beg"],
+  ["text","))"]
+],[
+   "start",
+  ["text","  ("],
+  ["support.function","quote"],
+  ["text"," ("],
+  ["identifier","privet"],
+  ["text"," "],
+  ["constant.numeric","1"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["text"," "],
+  ["constant.numeric","3"],
+  ["text","))"]
+],[
+   "start",
+  ["text","  '("],
+  ["identifier","hello"],
+  ["text"," "],
+  ["identifier","world"],
+  ["text",")"]
+],[
+   "start",
+  ["text","  (* "],
+  ["constant.numeric","5"],
+  ["text"," "],
+  ["constant.numeric","7"],
+  ["text",")"]
+],[
+   "start",
+  ["text","  ("],
+  ["constant.numeric","1"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["text"," "],
+  ["constant.numeric","34"],
+  ["text"," "],
+  ["constant.numeric","5"],
+  ["text",")"]
+],[
+   "start",
+  ["text","  ("],
+  ["punctuation.definition.constant.character.scheme","#:use"],
+  ["text"," "],
+  ["string","\"aaaa\""],
+  ["text",")"]
+],[
+   "start",
+  ["text","  ("],
+  ["keyword.control","let"],
+  ["text"," (("],
+  ["identifier","x"],
+  ["text"," "],
+  ["constant.numeric","10"],
+  ["text",") ("],
+  ["identifier","y"],
+  ["text"," "],
+  ["constant.numeric","20"],
+  ["text","))"]
+],[
+   "start",
+  ["text","    ("],
+  ["identifier","display"],
+  ["text"," (+ "],
+  ["identifier","x"],
+  ["text"," "],
+  ["identifier","y"],
+  ["text","))"]
+],[
+   "start",
+  ["text","  ) "]
+],[
+   "start"
+],[
+   "start",
+  ["text","  "],
+  ["string","\"asdad"],
+  ["constant.character.escape.scheme","\\0"],
+  ["string","eqweqe\""]
+],[
+   "start"
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scss.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scss.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scss.json
new file mode 100644
index 0000000..7e92f15
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_scss.json
@@ -0,0 +1,123 @@
+[[
+   "start",
+  ["comment","/* style.scss */"]
+],[
+   "start"
+],[
+   "start",
+  ["variable.language","#navbar"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","$navbar-width"],
+  ["text",": "],
+  ["constant.numeric","800px"],
+  ["text",";"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","$items"],
+  ["text",": "],
+  ["constant.numeric","5"],
+  ["text",";"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","$navbar-color"],
+  ["text",": "],
+  ["constant.numeric","#ce4dd6"],
+  ["text",";"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    "],
+  ["support.type","width"],
+  ["text",": "],
+  ["variable","$navbar-width"],
+  ["text",";"]
+],[
+   "start",
+  ["text","    "],
+  ["support.type","border-bottom"],
+  ["text",": "],
+  ["constant.numeric","2px"],
+  ["text"," "],
+  ["constant.language","solid"],
+  ["text"," "],
+  ["variable","$navbar-color"],
+  ["text",";"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    "],
+  ["variable.language","li"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","float"],
+  ["text",": "],
+  ["support.type","left"],
+  ["text",";"]
+],[
+   "start",
+  ["text","        "],
+  ["support.type","width"],
+  ["text",": "],
+  ["variable","$navbar-width"],
+  ["text","/"],
+  ["variable","$items"],
+  ["text"," "],
+  ["constant","-"],
+  ["text"," "],
+  ["constant.numeric","10px"],
+  ["text",";"]
+],[
+   "start"
+],[
+   "start",
+  ["text","        "],
+  ["support.type","background-color"],
+  ["text",": "],
+  ["support.function","lighten"],
+  ["paren.lparen","("],
+  ["variable","$navbar-color"],
+  ["text",", "],
+  ["constant.numeric","20%"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","        &"],
+  ["variable.language",":hover"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","            "],
+  ["support.type","background-color"],
+  ["text",": "],
+  ["support.function","lighten"],
+  ["paren.lparen","("],
+  ["variable","$navbar-color"],
+  ["text",", "],
+  ["constant.numeric","10%"],
+  ["paren.rparen",")"],
+  ["text",";"]
+],[
+   "start",
+  ["text","        "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["text","    "],
+  ["paren.rparen","}"]
+],[
+   "start",
+  ["paren.rparen","}"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sh.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sh.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sh.json
new file mode 100644
index 0000000..e4ab341
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sh.json
@@ -0,0 +1,334 @@
+[[
+   "start",
+  ["comment","#!/bin/sh"]
+],[
+   "start"
+],[
+   "start",
+  ["comment","# Script to open a browser to current branch"]
+],[
+   "start",
+  ["comment","# Repo formats:"]
+],[
+   "start",
+  ["comment","# ssh   git@github.com:richoH/gh_pr.git"]
+],[
+   "start",
+  ["comment","# http  https://richoH@github.com/richoH/gh_pr.git"]
+],[
+   "start",
+  ["comment","# git   git://github.com/richoH/gh_pr.git"]
+],[
+   "start"
+],[
+   "start",
+  ["variable","username="],
+  ["text","`"],
+  ["identifier","git"],
+  ["text"," "],
+  ["identifier","config"],
+  ["text"," "],
+  ["keyword.operator","--"],
+  ["identifier","get"],
+  ["text"," "],
+  ["identifier","github"],
+  ["text","."],
+  ["identifier","user"],
+  ["text","`"]
+],[
+   "start"
+],[
+   "start",
+  ["support.function","get_repo()"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "start",
+  ["text","    "],
+  ["identifier","git"],
+  ["text"," "],
+  ["identifier","remote"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","v"],
+  ["text"," | "],
+  ["identifier","grep"],
+  ["text"," $"],
+  ["paren.lparen","{"],
+  ["text","@:"],
+  ["keyword.operator","-"],
+  ["variable","$username"],
+  ["paren.rparen","}"],
+  ["text"," | "],
+  ["keyword","while"],
+  ["text"," "],
+  ["keyword","read"],
+  ["text"," "],
+  ["identifier","remote"],
+  ["text","; "],
+  ["keyword","do"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","if"],
+  ["text"," "],
+  ["variable","repo="],
+  ["text","`"],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$remote"],
+  ["text"," | "],
+  ["identifier","grep"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","E"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","o"],
+  ["text"," "],
+  ["string","\"git@github.com:[^ ]*\""],
+  ["text","`; "],
+  ["keyword","then"]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$repo"],
+  ["text"," | "],
+  ["identifier","sed"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s/^git@github\\.com://\""],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s/\\.git$//\""]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","exit"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","fi"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","if"],
+  ["text"," "],
+  ["variable","repo="],
+  ["text","`"],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$remote"],
+  ["text"," | "],
+  ["identifier","grep"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","E"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","o"],
+  ["text"," "],
+  ["string","\"https?://([^@]*@)?github.com/[^ ]*\\.git\""],
+  ["text","`; "],
+  ["keyword","then"]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$repo"],
+  ["text"," | "],
+  ["identifier","sed"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s|^https?://||\""],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s/^.*github\\.com\\///\""],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s/\\.git$//\""]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","exit"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","fi"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","if"],
+  ["text"," "],
+  ["variable","repo="],
+  ["text","`"],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$remote"],
+  ["text"," | "],
+  ["identifier","grep"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","E"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","o"],
+  ["text"," "],
+  ["string","\"git://github.com/[^ ]*\\.git\""],
+  ["text","`; "],
+  ["keyword","then"]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["variable","$repo"],
+  ["text"," | "],
+  ["identifier","sed"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s|^git://github.com/||\""],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","e"],
+  ["text"," "],
+  ["string","\"s/\\.git$//\""]
+],[
+   "start",
+  ["text","          "],
+  ["support.function.builtin","exit"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","      "],
+  ["keyword","fi"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword","done"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","["],
+  ["text"," "],
+  ["variable.language","$?"],
+  ["text"," "],
+  ["keyword.operator","-"],
+  ["identifier","eq"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["paren.rparen","]"],
+  ["text","; "],
+  ["keyword","then"]
+],[
+   "start",
+  ["text","        "],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["string","\"Couldn't find a valid remote\""],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["support.function","&2"]
+],[
+   "start",
+  ["text","        "],
+  ["support.function.builtin","exit"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["text","    "],
+  ["keyword","fi"]
+],[
+   "start",
+  ["paren.rparen","}"]
+],[
+   "start"
+],[
+   "start",
+  ["support.function.builtin","echo"],
+  ["text"," $"],
+  ["paren.lparen","{"],
+  ["text","#"],
+  ["identifier","x"],
+  ["paren.lparen","["],
+  ["text","@"],
+  ["paren.rparen","]}"]
+],[
+   "start"
+],[
+   "start",
+  ["keyword","if"],
+  ["text"," "],
+  ["variable","repo="],
+  ["text","`"],
+  ["identifier","get_repo"],
+  ["text"," $@`; "],
+  ["keyword","then"]
+],[
+   "start",
+  ["text","    "],
+  ["variable","branch="],
+  ["text","`"],
+  ["identifier","git"],
+  ["text"," "],
+  ["identifier","symbolic"],
+  ["keyword.operator","-"],
+  ["identifier","ref"],
+  ["text"," "],
+  ["identifier","HEAD"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["keyword.operator",">/"],
+  ["identifier","dev"],
+  ["keyword.operator","/"],
+  ["identifier","null"],
+  ["text","`"]
+],[
+   "start",
+  ["text","    "],
+  ["support.function.builtin","echo"],
+  ["text"," "],
+  ["string","\"http://github.com/"],
+  ["constant","$repo"],
+  ["string","/pull/new/${branch##refs/heads/}\""]
+],[
+   "start",
+  ["keyword","else"]
+],[
+   "start",
+  ["text","    "],
+  ["support.function.builtin","exit"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["keyword","fi"]
+],[
+   "start"
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_snippets.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_snippets.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_snippets.json
new file mode 100644
index 0000000..308683b
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_snippets.json
@@ -0,0 +1,159 @@
+[[
+   "start",
+  ["comment","# Function"]
+],[
+   "start",
+  ["constant.language.escape","snippet"],
+  ["text"," fun"]
+],[
+   "sn-start",
+  ["text","\tfunction "],
+  ["markup.list","${"],
+  ["constant.numeric","1"],
+  ["text","?:function_name"],
+  ["markup.list","}"],
+  ["text","("],
+  ["markup.list","${"],
+  ["constant.numeric","2"],
+  ["punctuation.operator",":"],
+  ["text","argument"],
+  ["markup.list","}"],
+  ["text",") {"]
+],[
+   "sn-start",
+  ["text","\t\t"],
+  ["markup.list","${"],
+  ["constant.numeric","3"],
+  ["punctuation.operator",":"],
+  ["text","// body..."],
+  ["markup.list","}"]
+],[
+   "sn-start",
+  ["text","\t}"]
+],[
+   "start",
+  ["comment","# Anonymous Function"]
+],[
+   "start",
+  ["constant.language.escape","regex "],
+  ["keyword","/"],
+  ["text","((=)\\s*|(:)\\s*|(\\()|\\b)"],
+  ["keyword","/"],
+  ["text","f"],
+  ["keyword","/"],
+  ["text","(\\))?"],
+  ["keyword","/"]
+],[
+   "start",
+  ["constant.language.escape","name"],
+  ["text"," f"]
+],[
+   "sn-start",
+  ["text","\tfunction"],
+  ["markup.list","${"],
+  ["variable","M1"],
+  ["text","?: "],
+  ["markup.list","${"],
+  ["constant.numeric","1"],
+  ["punctuation.operator",":"],
+  ["text","functionName"],
+  ["markup.list","}}"],
+  ["text","("],
+  ["variable","$2"],
+  ["text",") {"]
+],[
+   "sn-start",
+  ["text","\t\t"],
+  ["markup.list","${"],
+  ["constant.numeric","0"],
+  ["punctuation.operator",":"],
+  ["keyword","$TM_SELECTED_TEXT"],
+  ["markup.list","}"]
+],[
+   "sn-start",
+  ["text","\t}"],
+  ["markup.list","${"],
+  ["variable","M2"],
+  ["text","?;"],
+  ["markup.list","}${"],
+  ["variable","M3"],
+  ["text","?,"],
+  ["markup.list","}${"],
+  ["variable","M4"],
+  ["text","?)"],
+  ["markup.list","}"]
+],[
+   "start",
+  ["comment","# Immediate function"]
+],[
+   "start",
+  ["constant.language.escape","trigger"],
+  ["text"," \\(?f\\("]
+],[
+   "start",
+  ["constant.language.escape","endTrigger"],
+  ["text"," \\)?"]
+],[
+   "start",
+  ["constant.language.escape","snippet"],
+  ["text"," f("]
+],[
+   "sn-start",
+  ["text","\t(function("],
+  ["markup.list","${"],
+  ["constant.numeric","1"],
+  ["markup.list","}"],
+  ["text",") {"]
+],[
+   "sn-start",
+  ["text","\t\t"],
+  ["markup.list","${"],
+  ["constant.numeric","0"],
+  ["punctuation.operator",":"],
+  ["markup.list","${"],
+  ["keyword","TM_SELECTED_TEXT"],
+  ["punctuation.operator",":"],
+  ["text","/* code */"],
+  ["markup.list","}}"]
+],[
+   "sn-start",
+  ["text","\t}("],
+  ["markup.list","${"],
+  ["constant.numeric","1"],
+  ["markup.list","}"],
+  ["text","));"]
+],[
+   "start",
+  ["comment","# if"]
+],[
+   "start",
+  ["constant.language.escape","snippet"],
+  ["text"," if"]
+],[
+   "sn-start",
+  ["text","\tif ("],
+  ["markup.list","${"],
+  ["constant.numeric","1"],
+  ["punctuation.operator",":"],
+  ["text","true"],
+  ["markup.list","}"],
+  ["text",") {"]
+],[
+   "sn-start",
+  ["text","\t\t"],
+  ["markup.list","${"],
+  ["constant.numeric","0"],
+  ["markup.list","}"]
+],[
+   "sn-start",
+  ["text","\t}"]
+],[
+   "sn-start",
+  ["text","\t"]
+],[
+   "sn-start",
+  ["text","\t"]
+],[
+   "sn-start",
+  ["text","\t"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sql.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sql.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sql.json
new file mode 100644
index 0000000..09a3ef9
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_sql.json
@@ -0,0 +1,54 @@
+[[
+   "start",
+  ["keyword","SELECT"],
+  ["text"," "],
+  ["identifier","city"],
+  ["text",", "],
+  ["support.function","COUNT"],
+  ["paren.lparen","("],
+  ["identifier","id"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword","AS"],
+  ["text"," "],
+  ["identifier","users_count"]
+],[
+   "start",
+  ["keyword","FROM"],
+  ["text"," "],
+  ["identifier","users"]
+],[
+   "start",
+  ["keyword","WHERE"],
+  ["text"," "],
+  ["identifier","group_name"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["string","'salesman'"]
+],[
+   "start",
+  ["keyword","AND"],
+  ["text"," "],
+  ["identifier","created"],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["text"," "],
+  ["string","'2011-05-21'"]
+],[
+   "start",
+  ["keyword","GROUP"],
+  ["text"," "],
+  ["keyword","BY"],
+  ["text"," "],
+  ["constant.numeric","1"]
+],[
+   "start",
+  ["keyword","ORDER"],
+  ["text"," "],
+  ["keyword","BY"],
+  ["text"," "],
+  ["constant.numeric","2"],
+  ["text"," "],
+  ["keyword","DESC"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_stylus.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_stylus.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_stylus.json
new file mode 100644
index 0000000..f24993f
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_stylus.json
@@ -0,0 +1,271 @@
+[[
+   "start",
+  ["comment","// I'm a comment!"]
+],[
+   "start"
+],[
+   "comment",
+  ["comment","/*"]
+],[
+   "comment",
+  ["comment"," * Adds the given numbers together."]
+],[
+   "start",
+  ["comment"," */"]
+],[
+   "start"
+],[
+   "start"
+],[
+   "comment",
+  ["comment","/*!"]
+],[
+   "comment",
+  ["comment"," * Adds the given numbers together."]
+],[
+   "start",
+  ["comment"," */"]
+],[
+   "start"
+],[
+   "start"
+],[
+   "start",
+  ["entity.name.function.stylus","asdasdasdad"],
+  ["text","("],
+  ["text","df, ad"],
+  ["keyword.operator.stylus","="],
+  ["constant.numeric","23"],
+  ["text",")"]
+],[
+   "start"
+],[
+   "start",
+  ["entity.name.function.stylus","add"],
+  ["text","("],
+  ["entity.name.tag.stylus","a"],
+  ["text",", "],
+  ["entity.name.tag.stylus","b"],
+  ["text"," "],
+  ["keyword.operator.stylus","="],
+  ["text"," "],
+  ["entity.name.tag.stylus","a"],
+  ["text",")"]
+],[
+   "start",
+  ["text","   "],
+  ["entity.name.tag.stylus","a"],
+  ["text"," "],
+  ["keyword.operator.stylus","+"],
+  ["text"," "],
+  ["entity.name.tag.stylus","b"]
+],[
+   "start",
+  ["entity.name.function.stylus","green"],
+  ["text","("],
+  ["constant.numeric","#0c0"],
+  ["text",")"]
+],[
+   "start",
+  ["text"," add("],
+  ["constant.numeric","10"],
+  ["text",", "],
+  ["constant.numeric","5"],
+  ["text",")"]
+],[
+   "start",
+  ["text"," "],
+  ["comment","// => 15"]
+],[
+   "start"
+],[
+   "start",
+  ["text"," add("],
+  ["constant.numeric","10"],
+  ["text",")"]
+],[
+   "start",
+  ["text"," add("],
+  ["entity.name.tag.stylus","a"],
+  ["text",", "],
+  ["entity.name.tag.stylus","b"],
+  ["text",")"]
+],[
+   "start"
+],[
+   "start",
+  ["entity.language.stylus","    &"],
+  ["text","asdasd"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    ("],
+  ["variable.language.stylus","arguments"],
+  ["text",")"]
+],[
+   "start"
+],[
+   "start",
+  ["text","    "],
+  ["keyword.stylus","@sdfsdf"]
+],[
+   "start",
+  ["entity.other.attribute-name.class.stylus",".signatures"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","background-color"],
+  ["text"," "],
+  ["constant.numeric","#e0e8e0"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","border"],
+  ["text"," "],
+  ["constant.numeric","1"],
+  ["keyword","px"],
+  ["text"," "],
+  ["support.constant","solid"],
+  ["text"," grayLighter"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","box-shadow"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","3"],
+  ["keyword","px"],
+  ["text"," grayLightest"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","border-radius"],
+  ["text"," "],
+  ["constant.numeric","3"],
+  ["keyword","px"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","padding"],
+  ["text"," "],
+  ["constant.numeric","3"],
+  ["keyword","px"],
+  ["text"," "],
+  ["constant.numeric","5"],
+  ["keyword","px"]
+],[
+   "start",
+  ["text","  "],
+  ["string","\"adsads\""]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","margin-left"],
+  ["text"," "],
+  ["constant.numeric","0"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","list-style"],
+  ["text"," "],
+  ["support.constant","none"]
+],[
+   "start",
+  ["entity.other.attribute-name.class.stylus",".signature"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","list-style"],
+  ["text"," "],
+  ["support.constant","none"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","display"],
+  ["text",": "],
+  ["support.constant","inline"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","margin-left"],
+  ["text"," "],
+  ["constant.numeric","0"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword.operator.stylus",">"],
+  ["text"," "],
+  ["entity.name.tag.stylus","li"]
+],[
+   "start",
+  ["text","    "],
+  ["support.type","display"],
+  ["text"," "],
+  ["support.constant","inline"]
+],[
+   "start",
+  ["keyword.operator.stylus","is"],
+  ["text"," "],
+  ["keyword.operator.stylus","not"]
+],[
+   "start",
+  ["entity.other.attribute-name.class.stylus",".signature-values"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","list-style"],
+  ["text"," "],
+  ["support.constant","none"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","display"],
+  ["text"," "],
+  ["support.constant","inline"]
+],[
+   "start",
+  ["text","  "],
+  ["support.type","margin-left"],
+  ["text"," "],
+  ["constant.numeric","0"]
+],[
+   "start",
+  ["entity.language.stylus","  &"],
+  ["punctuation",":"],
+  ["entity.other.attribute-name.pseudo-element.css","before"]
+],[
+   "start",
+  ["text","    "],
+  ["support.type","content"],
+  ["text"," "],
+  ["string","'→'"]
+],[
+   "start",
+  ["text","    "],
+  ["support.type","margin"],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["text"," "],
+  ["constant.numeric","5"],
+  ["keyword","px"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword.operator.stylus",">"],
+  ["text"," "],
+  ["entity.name.tag.stylus","li"]
+],[
+   "start",
+  ["text","  "],
+  ["keyword.control.stylus","!important"]
+],[
+   "start"
+],[
+   "start",
+  ["text","  "],
+  ["keyword.control.stylus","unless"]
+]]
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9abd128c/src/fauxton/assets/js/libs/ace/mode/_test/tokens_svg.json
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/js/libs/ace/mode/_test/tokens_svg.json b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_svg.json
new file mode 100644
index 0000000..f92fbbb
--- /dev/null
+++ b/src/fauxton/assets/js/libs/ace/mode/_test/tokens_svg.json
@@ -0,0 +1,684 @@
+[[
+   "meta.tag.punctuation.begin0",
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","svg"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","  "],
+  ["entity.other.attribute-name","width"],
+  ["keyword.operator.separator","="],
+  ["string","\"800\""],
+  ["text"," "],
+  ["entity.other.attribute-name","height"],
+  ["keyword.operator.separator","="],
+  ["string","\"600\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","  "],
+  ["entity.other.attribute-name","xmlns"],
+  ["keyword.operator.separator","="],
+  ["string","\"http://www.w3.org/2000/svg\""]
+],[
+   "start",
+  ["text","  "],
+  ["entity.other.attribute-name","onload"],
+  ["keyword.operator.separator","="],
+  ["string","\"StartAnimation(evt)\""],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "start",
+  ["text","  "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","title"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","Test Tube Progress Bar"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","title"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["text","  "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","desc"],
+  ["meta.tag.punctuation.end",">"],
+  ["text","Created for the Web Directions SVG competition"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","desc"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "js-no_regex",
+  ["text","  "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name.script","script"],
+  ["text"," "],
+  ["entity.other.attribute-name","type"],
+  ["keyword.operator.separator","="],
+  ["string","\"text/ecmascript\""],
+  ["meta.tag.punctuation.end",">"],
+  ["string.begin","<![CDATA["]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["constant.numeric","0"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","timer_increment"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["constant.numeric","1"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","max_time"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["constant.numeric","100"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","hickory"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","dickory"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","dock"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","var"],
+  ["text"," "],
+  ["identifier","i"],
+  ["punctuation.operator",";"]
+],[
+   "js-start"
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","function"],
+  ["text"," "],
+  ["entity.name.function","StartAnimation"],
+  ["paren.lparen","("],
+  ["variable.parameter","evt"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","hickory"],
+  ["text","  "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","evt"],
+  ["punctuation.operator","."],
+  ["identifier","target"],
+  ["punctuation.operator","."],
+  ["identifier","ownerDocument"],
+  ["punctuation.operator","."],
+  ["support.function.dom","getElementById"],
+  ["paren.lparen","("],
+  ["string","\"hickory\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","dickory"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","evt"],
+  ["punctuation.operator","."],
+  ["identifier","target"],
+  ["punctuation.operator","."],
+  ["identifier","ownerDocument"],
+  ["punctuation.operator","."],
+  ["support.function.dom","getElementById"],
+  ["paren.lparen","("],
+  ["string","\"dickory\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","dock"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","evt"],
+  ["punctuation.operator","."],
+  ["identifier","target"],
+  ["punctuation.operator","."],
+  ["identifier","ownerDocument"],
+  ["punctuation.operator","."],
+  ["support.function.dom","getElementById"],
+  ["paren.lparen","("],
+  ["string","\"dock\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start"
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","ShowAndGrowElement"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-no_regex",
+  ["text","    "],
+  ["paren.rparen","}"]
+],[
+   "js-start",
+  ["text","    "],
+  ["storage.type","function"],
+  ["text"," "],
+  ["entity.name.function","ShowAndGrowElement"],
+  ["paren.lparen","("],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["identifier","timer_increment"],
+  ["punctuation.operator",";"]
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["text"," "],
+  ["identifier","max_time"],
+  ["paren.rparen",")"]
+],[
+   "js-start",
+  ["text","            "],
+  ["keyword","return"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","        "],
+  ["comment","// Scale the text string gradually until it is 20 times larger"]
+],[
+   "js-start",
+  ["text","        "],
+  ["identifier","scalefactor"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","*"],
+  ["text"," "],
+  ["constant.numeric","650"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword.operator","/"],
+  ["text"," "],
+  ["identifier","max_time"],
+  ["punctuation.operator",";"]
+],[
+   "js-start"
+],[
+   "js-start",
+  ["text","        "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","<"],
+  ["text"," "],
+  ["constant.numeric","30"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","hickory"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"display\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","hickory"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"transform\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"translate(\""],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["constant.numeric","600"],
+  ["keyword.operator","+"],
+  ["identifier","scalefactor"],
+  ["keyword.operator","*"],
+  ["constant.numeric","3"],
+  ["keyword.operator","*"],
+  ["constant.numeric","-1"],
+  ["text"," "],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["string","\", -144 )\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["paren.rparen","}"]
+],[
+   "js-no_regex"
+],[
+   "js-start",
+  ["text","        "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["text"," "],
+  ["constant.numeric","30"],
+  ["text"," "],
+  ["keyword.operator","&&"],
+  ["text"," "],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator","<"],
+  ["text"," "],
+  ["constant.numeric","66"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","dickory"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"display\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","dickory"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"transform\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"translate(\""],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["constant.numeric","-795"],
+  ["keyword.operator","+"],
+  ["identifier","scalefactor"],
+  ["keyword.operator","*"],
+  ["constant.numeric","2"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["string","\", 0 )\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["paren.rparen","}"]
+],[
+   "js-start",
+  ["text","        "],
+  ["keyword","if"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["identifier","timevalue"],
+  ["text"," "],
+  ["keyword.operator",">"],
+  ["text"," "],
+  ["constant.numeric","66"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["paren.lparen","{"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","dock"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"display\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-start",
+  ["text","            "],
+  ["identifier","dock"],
+  ["punctuation.operator","."],
+  ["support.function.dom","setAttribute"],
+  ["paren.lparen","("],
+  ["string","\"transform\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["string","\"translate(\""],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["paren.lparen","("],
+  ["constant.numeric","1450"],
+  ["keyword.operator","+"],
+  ["identifier","scalefactor"],
+  ["keyword.operator","*"],
+  ["constant.numeric","2"],
+  ["keyword.operator","*"],
+  ["constant.numeric","-1"],
+  ["paren.rparen",")"],
+  ["text"," "],
+  ["keyword.operator","+"],
+  ["text"," "],
+  ["string","\", 144 )\""],
+  ["paren.rparen",")"],
+  ["punctuation.operator",";"]
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["paren.rparen","}"]
+],[
+   "js-no_regex"
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["comment","// Call ShowAndGrowElement again <timer_increment> milliseconds later."]
+],[
+   "js-no_regex",
+  ["text","        "],
+  ["identifier","setTimeout"],
+  ["paren.lparen","("],
+  ["string","\"ShowAndGrowElement()\""],
+  ["punctuation.operator",","],
+  ["text"," "],
+  ["identifier","timer_increment"],
+  ["paren.rparen",")"]
+],[
+   "js-no_regex",
+  ["text","    "],
+  ["paren.rparen","}"]
+],[
+   "js-no_regex",
+  ["text","    "],
+  ["variable.language","window"],
+  ["punctuation.operator","."],
+  ["identifier","ShowAndGrowElement"],
+  ["text"," "],
+  ["keyword.operator","="],
+  ["text"," "],
+  ["identifier","ShowAndGrowElement"]
+],[
+   "start",
+  ["text","  "],
+  ["string.end","]]>"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name.script","script"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start"
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","  "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","rect"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","fill"],
+  ["keyword.operator.separator","="],
+  ["string","\"#2e3436\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","fill-rule"],
+  ["keyword.operator.separator","="],
+  ["string","\"nonzero\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","stroke-width"],
+  ["keyword.operator.separator","="],
+  ["string","\"3\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","y"],
+  ["keyword.operator.separator","="],
+  ["string","\"0\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","x"],
+  ["keyword.operator.separator","="],
+  ["string","\"0\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","height"],
+  ["keyword.operator.separator","="],
+  ["string","\"600\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["entity.other.attribute-name","width"],
+  ["keyword.operator.separator","="],
+  ["string","\"800\""]
+],[
+   "start",
+  ["text","    "],
+  ["entity.other.attribute-name","id"],
+  ["keyword.operator.separator","="],
+  ["string","\"rect3590\""],
+  ["meta.tag.punctuation.end","/>"]
+],[
+   "start"
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","text"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","style"],
+  ["keyword.operator.separator","="],
+  ["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","x"],
+  ["keyword.operator.separator","="],
+  ["string","\"50\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","y"],
+  ["keyword.operator.separator","="],
+  ["string","\"350\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","id"],
+  ["keyword.operator.separator","="],
+  ["string","\"hickory\""]
+],[
+   "start",
+  ["text","       "],
+  ["entity.other.attribute-name","display"],
+  ["keyword.operator.separator","="],
+  ["string","\"none\""],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["text","        Hickory,"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","text"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","text"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","style"],
+  ["keyword.operator.separator","="],
+  ["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","x"],
+  ["keyword.operator.separator","="],
+  ["string","\"50\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","y"],
+  ["keyword.operator.separator","="],
+  ["string","\"350\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","id"],
+  ["keyword.operator.separator","="],
+  ["string","\"dickory\""]
+],[
+   "start",
+  ["text","       "],
+  ["entity.other.attribute-name","display"],
+  ["keyword.operator.separator","="],
+  ["string","\"none\""],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["text","        dickory,"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","text"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","    "],
+  ["meta.tag.punctuation.begin","<"],
+  ["meta.tag.name","text"]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","style"],
+  ["keyword.operator.separator","="],
+  ["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","x"],
+  ["keyword.operator.separator","="],
+  ["string","\"50\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","y"],
+  ["keyword.operator.separator","="],
+  ["string","\"350\""]
+],[
+   "meta.tag.punctuation.begin0",
+  ["text","       "],
+  ["entity.other.attribute-name","id"],
+  ["keyword.operator.separator","="],
+  ["string","\"dock\""]
+],[
+   "start",
+  ["text","       "],
+  ["entity.other.attribute-name","display"],
+  ["keyword.operator.separator","="],
+  ["string","\"none\""],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["text","        dock!"],
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","text"],
+  ["meta.tag.punctuation.end",">"]
+],[
+   "start",
+  ["meta.tag.punctuation.begin","</"],
+  ["meta.tag.name","svg"],
+  ["meta.tag.punctuation.end",">"]
+]]
\ No newline at end of file


Mime
View raw message