ace-code-editor
Version:
Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE
684 lines • 19.2 kB
JSON
[[
"meta.tag.punctuation.tag-open.xml1",
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","svg"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","width"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"800\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","height"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"600\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","xmlns"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"http://www.w3.org/2000/svg\""]
],[
"start",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","onload"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"StartAnimation(evt)\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Test Tube Progress Bar"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","desc"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Created for the Web Directions SVG competition"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","desc"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"js-no_regex",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"text/ecmascript\""],
["meta.tag.punctuation.tag-close.xml",">"],
["string.cdata.xml","<![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.cdata.xml","]]>"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","rect"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","fill"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"#2e3436\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","fill-rule"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"nonzero\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","stroke-width"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"3\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","y"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"0\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","x"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"0\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","height"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"600\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","width"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"800\""]
],[
"start",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"rect3590\""],
["meta.tag.punctuation.tag-close.xml","/>"]
],[
"start"
],[
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","text"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","style"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"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.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","x"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"50\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","y"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"350\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"hickory\""]
],[
"start",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","display"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"none\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," Hickory,"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","text"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","text"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","style"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"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.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","x"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"50\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","y"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"350\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"dickory\""]
],[
"start",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","display"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"none\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," dickory,"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","text"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","text"]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","style"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"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.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","x"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"50\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","y"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"350\""]
],[
"meta.tag.punctuation.tag-open.xml1",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"dock\""]
],[
"start",
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","display"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"none\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," dock!"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","text"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","svg"],
["meta.tag.punctuation.tag-close.xml",">"]
]]