ace-code-editor
Version:
Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE
435 lines • 11.6 kB
JSON
[[
"start",
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"js-start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"js-start",
["text"," "],
["storage.type","var"],
["text"," "],
["identifier","x"],
["text"," "],
["keyword.operator","="],
["text"," "],
["string","\"abc\""],
["punctuation.operator",";"]
],[
"js-start",
["text"," "],
["storage.type","function"],
["text"," "],
["identifier","y"],
["text"," "],
["paren.lparen","{"]
],[
"js-no_regex",
["text"," "],
["paren.rparen","}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"css-start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.style.tag-name.xml","style"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
["css-ruleset","css-start"],
["text"," "],
["variable",".class"],
["text"," "],
["paren.lparen","{"]
],[
["css-ruleset","css-start"],
["text"," "],
["support.type","background"],
["text",": "],
["constant.numeric","#124356"],
["text",";"]
],[
"css-start",
["text"," "],
["paren.rparen","}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.style.tag-name.xml","style"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," Today's date: "],
["meta.tag","<%"],
["keyword.operator","="],
["text"," "],
["lparen","("],
["keyword","new"],
["text"," "],
["identifier","java"],
["text","."],
["identifier","util"],
["text","."],
["identifier","Date"],
["lparen","("],
["rparen","))"],
["text","."],
["identifier","toLocaleString"],
["lparen","("],
["rparen",")"],
["meta.tag","%>"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag","<%"],
["keyword.operator","!"],
["text"," "],
["keyword","int"],
["text"," "],
["identifier","i"],
["text"," "],
["keyword.operator","="],
["text"," "],
["constant.numeric","0"],
["text","; "],
["meta.tag","%>"]
],[
"jsp-start",
["text.xml"," "],
["meta.tag","<jsp:declaration>"]
],[
"jsp-start",
["text"," "],
["keyword","int"],
["text"," "],
["identifier","j"],
["text"," "],
["keyword.operator","="],
["text"," "],
["constant.numeric","10"],
["text",";"]
],[
"start",
["text"," "],
["meta.tag","</jsp:declaration>"]
],[
"start"
],[
"start",
["text.xml"," "],
["comment","<%-- This is JSP comment --%>"]
],[
"start",
["text.xml"," "],
["meta.tag","<%@"],
["text"," "],
["identifier","directive"],
["text"," "],
["identifier","attribute"],
["keyword.operator","="],
["string","\"value\""],
["text"," "],
["meta.tag","%>"]
],[
"start"
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Select Languages:"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","form"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","ACTION"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"jspCheckBox.jsp\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"checkbox\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","name"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"id\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"Java\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," Java"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","BR"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"checkbox\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","name"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"id\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\".NET\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," .NET"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","BR"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"checkbox\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","name"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"id\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"PHP\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," PHP"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","BR"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"checkbox\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","name"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"id\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"C/C++\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," C/C++"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","BR"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"checkbox\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","name"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"id\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"PERL\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," PERL "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","BR"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.form.tag-name.xml","input"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"submit\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","value"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"Submit\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.form.tag-name.xml","form"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"jsp-start",
["text.xml"," "],
["meta.tag","<%"]
],[
"jsp-start",
["text"," "],
["support.function","String"],
["text"," "],
["identifier","select"],
["lparen","["],
["rparen","]"],
["text"," "],
["keyword.operator","="],
["text"," "],
["variable.language","request"],
["text","."],
["identifier","getParameterValues"],
["lparen","("],
["string","\"id\""],
["rparen",")"],
["text","; "]
],[
"jsp-start",
["text"," "],
["keyword","if"],
["text"," "],
["lparen","("],
["identifier","select"],
["text"," "],
["keyword.operator","!="],
["text"," "],
["constant.language","null"],
["text"," "],
["keyword.operator","&&"],
["text"," "],
["identifier","select"],
["text","."],
["identifier","length"],
["text"," "],
["keyword.operator","!="],
["text"," "],
["constant.numeric","0"],
["rparen",")"],
["text"," "],
["lparen","{"]
],[
"jsp-start",
["text"," "],
["variable.language","out"],
["text","."],
["identifier","println"],
["lparen","("],
["string","\"You have selected: \""],
["rparen",")"],
["text",";"]
],[
"jsp-start",
["text"," "],
["keyword","for"],
["text"," "],
["lparen","("],
["keyword","int"],
["text"," "],
["identifier","i"],
["text"," "],
["keyword.operator","="],
["text"," "],
["constant.numeric","0"],
["text","; "],
["identifier","i"],
["text"," "],
["keyword.operator","<"],
["text"," "],
["identifier","select"],
["text","."],
["identifier","length"],
["text","; "],
["identifier","i"],
["keyword.operator","++"],
["rparen",")"],
["text"," "],
["lparen","{"]
],[
"jsp-start",
["text"," "],
["variable.language","out"],
["text","."],
["identifier","println"],
["lparen","("],
["identifier","select"],
["lparen","["],
["identifier","i"],
["rparen","])"],
["text","; "]
],[
"jsp-start",
["text"," "],
["rparen","}"]
],[
"jsp-start",
["text"," "],
["rparen","}"]
],[
"start",
["text"," "],
["meta.tag","%>"]
],[
"start",
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
]]