Skip to content

Commit

Permalink
use meta.tag.punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Jul 14, 2013
1 parent 386f1ec commit c7abff1
Show file tree
Hide file tree
Showing 17 changed files with 521 additions and 521 deletions.
12 changes: 6 additions & 6 deletions lib/ace/mode/_test/tokens_coldfusion.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
"start"
],[
"start",
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","cfset"],
["text"," "],
["entity.other.attribute-name","welcome"],
["keyword.operator.separator","="],
["string","\"Hello World!\""],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start"
],[
"start",
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","cfoutput"],
["punctuation.meta.tag.end",">"],
["meta.tag.punctuation.end",">"],
["text","#welcome#"],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","cfoutput"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
]]
16 changes: 8 additions & 8 deletions lib/ace/mode/_test/tokens_curly.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
["text","tokenize embedded script"]
],[
"start",
["punctuation.meta.tag.begin.script","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["text"," "],
["entity.other.attribute-name","a"],
["keyword.operator.separator","="],
["string","'a'"],
["punctuation.meta.tag.end.script",">"],
["meta.tag.punctuation.end",">"],
["storage.type","var"],
["punctuation.meta.tag.begin.script","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["punctuation.meta.tag.end.script",">"],
["meta.tag.punctuation.end",">"],
["text","'123'"]
],[
"start",
["text","tokenize multiline attribute value with double quotes"]
],[
["qqstring_inner","start_tag_stuff"],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
Expand All @@ -35,13 +35,13 @@
],[
"start",
["string","def\""],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text","tokenize multiline attribute value with single quotes"]
],[
["qstring_inner","start_tag_stuff"],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
Expand All @@ -50,7 +50,7 @@
],[
"start",
["string","def\\\"'"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start"
]]
72 changes: 36 additions & 36 deletions lib/ace/mode/_test/tokens_ftl.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,97 +49,97 @@
["punctuation.doctype.end",">"]
],[
"start",
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["text"," "],
["entity.other.attribute-name","lang"],
["keyword.operator.separator","="],
["string","\"en-us\""],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","meta"],
["text"," "],
["entity.other.attribute-name","charset"],
["keyword.operator.separator","="],
["string","\"utf-8\""],
["text"," "],
["punctuation.meta.tag.end","/>"]
["meta.tag.punctuation.end","/>"]
],[
"start",
["text"," "]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["punctuation.meta.tag.end",">"],
["meta.tag.punctuation.end",">"],
["string.interpolated","${"],
["variable","title"],
["keyword.operator","!"],
["string","\"FreeMarker\""],
["string.interpolated","}"],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h1"],
["punctuation.meta.tag.end",">"],
["meta.tag.punctuation.end",">"],
["text","Hello "],
["string.interpolated","${"],
["variable","name"],
["keyword.operator","!"],
["string","\"\""],
["string.interpolated","}"],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h1"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["punctuation.meta.tag.end",">"],
["meta.tag.punctuation.end",">"],
["text","Today is: "],
["string.interpolated","${"],
["language.variable",".now"],
["support.function","?date"],
["string.interpolated","}"],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "]
Expand Down Expand Up @@ -185,9 +185,9 @@
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","ul"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "],
Expand All @@ -202,9 +202,9 @@
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","li"],
["punctuation.meta.tag.end",">"],
["meta.tag.punctuation.end",">"],
["string.interpolated","${"],
["variable","item_index"],
["string.interpolated","}"],
Expand All @@ -222,9 +222,9 @@
["constant.numeric","0"],
["paren.rparen","]"],
["string.interpolated","}"],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","li"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "],
Expand All @@ -233,9 +233,9 @@
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","ul"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["text"," "]
Expand Down Expand Up @@ -309,7 +309,7 @@
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.image","img"],
["text"," "],
["entity.other.attribute-name","src"],
Expand All @@ -320,21 +320,21 @@
["string.interpolated","}"],
["string",".png\""],
["text"," "],
["punctuation.meta.tag.end","/>"]
["meta.tag.punctuation.end","/>"]
],[
"start",
["text"," "]
],[
"start",
["text"," "],
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start"
]]
24 changes: 12 additions & 12 deletions lib/ace/mode/_test/tokens_html.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[[
"start",
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start",
["punctuation.meta.tag.begin.script","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["text"," "],
["entity.other.attribute-name","a"],
["keyword.operator.separator","="],
["string","'a'"],
["punctuation.meta.tag.end.script",">"],
["meta.tag.punctuation.end",">"],
["storage.type","var"],
["punctuation.meta.tag.begin.script","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["punctuation.meta.tag.end.script",">"],
["meta.tag.punctuation.end",">"],
["text","'123'"]
],[
["qqstring_inner","start_tag_stuff"],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
Expand All @@ -28,10 +28,10 @@
],[
"start",
["string"," def\""],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
["qstring_inner","start_tag_stuff"],
["punctuation.meta.tag.begin","<"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
Expand All @@ -40,12 +40,12 @@
],[
"start",
["string","def\\'"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
],[
"start"
],[
"start",
["punctuation.meta.tag.begin","</"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["punctuation.meta.tag.end",">"]
["meta.tag.punctuation.end",">"]
]]
Loading

0 comments on commit c7abff1

Please sign in to comment.