Modify xml highlight rules (add "xml" suffix to tokens)

This commit is contained in:
DanyaPostfactum 2014-03-16 00:33:09 +10:00
commit 1f72461ada
36 changed files with 2028 additions and 2108 deletions

View file

@ -1,26 +1,26 @@
[[
"start",
["comment","<!--- hello world --->"]
["comment.xml","<!--- hello world --->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","cfset"],
["text"," "],
["entity.other.attribute-name","welcome"],
["keyword.operator.separator","="],
["string","\"Hello World!\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","cfset"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","welcome"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"Hello World!\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","cfoutput"],
["meta.tag.punctuation.end",">"],
["text","#welcome#"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","cfoutput"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","cfoutput"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","#welcome#"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","cfoutput"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -1,56 +1,56 @@
[[
"start",
["text","tokenize Curly template"],
["text.xml","tokenize Curly template"],
["variable","{{"],
["text","test"],
["variable","}}"]
],[
"start",
["text","tokenize embedded script"]
["text.xml","tokenize embedded script"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["text"," "],
["entity.other.attribute-name","a"],
["keyword.operator.separator","="],
["string","'a'"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","a"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","'a'"],
["meta.tag.punctuation.tag-close.xml",">"],
["storage.type","var"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"],
["text","'123'"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","'123'"]
],[
"start",
["text","tokenize multiline attribute value with double quotes"]
["text.xml","tokenize multiline attribute value with double quotes"]
],[
["qqstring_inner","start_tag_stuff"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\"abc{{xyz}}"]
["string.attribute-value.xml0","tag_stuff"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"abc{{xyz}}"]
],[
"start",
["string","def\""],
["meta.tag.punctuation.end",">"]
["string.attribute-value.xml","def\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","tokenize multiline attribute value with single quotes"]
["text.xml","tokenize multiline attribute value with single quotes"]
],[
["qstring_inner","start_tag_stuff"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","'abc"]
["string.attribute-value.xml","tag_stuff"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","'abc"]
],[
"start",
["string","def\\\"'"],
["meta.tag.punctuation.end",">"]
["string.attribute-value.xml","def\\\"'"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -1,90 +1,90 @@
[[
"start",
["punctuation.doctype.begin","<!"],
["meta.tag.doctype","DOCTYPE"],
["text"," "],
["xml-pe","html"],
["punctuation.doctype.end",">"]
["xml-pe.doctype.xml","<!"],
["xml-pe.doctype.xml","DOCTYPE"],
["text.whitespace.xml"," "],
["xml-pe.xml","html"],
["xml-pe.doctype.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"],
["text","Cloud9 Rocks!"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Cloud9 Rocks!"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","table"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"table\""],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","table"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"table\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["text","Name"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Name"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["text","Size"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Size"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["markup.list.meta.tag","<%"],
["text"," "],
["keyword","if"],
@ -99,51 +99,51 @@
["markup.list.meta.tag","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\"..\""],
["meta.tag.punctuation.end",">"],
["text",".."],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"..\""],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml",".."],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["markup.list.meta.tag","<%"],
["text"," "],
["paren.rparen","}"],
@ -151,7 +151,7 @@
["markup.list.meta.tag","%>"]
],[
"start",
["text"," "],
["text.xml"," "],
["markup.list.meta.tag","<%"],
["text"," "],
["identifier","entries"],
@ -168,25 +168,25 @@
["markup.list.meta.tag","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","span"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"glyphicon "],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","span"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"glyphicon "],
["markup.list.meta.tag","<%="],
["text"," "],
["identifier","entry"],
@ -204,20 +204,20 @@
["text"," "],
["string","'file'"],
["markup.list.meta.tag","%>"],
["string","\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","span"],
["meta.tag.punctuation.end",">"]
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","span"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\""],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\""],
["markup.list.meta.tag","<%="],
["text"," "],
["identifier","entry"],
@ -225,8 +225,8 @@
["identifier","name"],
["text"," "],
["markup.list.meta.tag","%>"],
["string","\""],
["meta.tag.punctuation.end",">"],
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["markup.list.meta.tag","<%="],
["text"," "],
["identifier","entry"],
@ -234,21 +234,21 @@
["identifier","name"],
["text"," "],
["markup.list.meta.tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["markup.list.meta.tag","<%="],
["text"," "],
["identifier","entry"],
@ -256,18 +256,18 @@
["identifier","size"],
["text"," "],
["markup.list.meta.tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["markup.list.meta.tag","<%"],
["text"," "],
["paren.rparen","})"],
@ -275,22 +275,22 @@
["markup.list.meta.tag","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","table"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","table"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -43,110 +43,110 @@
"start"
],[
"start",
["punctuation.doctype.begin","<!"],
["meta.tag.doctype","DOCTYPE"],
["text"," "],
["xml-pe","html"],
["punctuation.doctype.end",">"]
["xml-pe.doctype.xml","<!"],
["xml-pe.doctype.xml","DOCTYPE"],
["text.whitespace.xml"," "],
["xml-pe.xml","html"],
["xml-pe.doctype.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["text"," "],
["entity.other.attribute-name","lang"],
["keyword.operator.separator","="],
["string","\"en-us\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","lang"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"en-us\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","meta"],
["text"," "],
["entity.other.attribute-name","charset"],
["keyword.operator.separator","="],
["string","\"utf-8\""],
["text"," "],
["meta.tag.punctuation.end","/>"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","meta"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","charset"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"utf-8\""],
["text.tag-whitespace.xml"," "],
["meta.tag.punctuation.tag-close.xml","/>"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["string.interpolated","${"],
["variable","title"],
["keyword.operator","!"],
["string","\"FreeMarker\""],
["string.interpolated","}"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"],
["text","Hello "],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Hello "],
["string.interpolated","${"],
["variable","name"],
["keyword.operator","!"],
["string","\"\""],
["string.interpolated","}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text","Today is: "],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Today is: "],
["string.interpolated","${"],
["language.variable",".now"],
["support.function","?date"],
["string.interpolated","}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#assign"],
["text"," "],
["variable","x"],
@ -157,7 +157,7 @@
["keyword",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#if"],
["text"," "],
["variable","x"],
@ -174,7 +174,7 @@
["text"," "],
["constant.numeric","14"],
["keyword",">"],
["text","x equals 13: "],
["text.xml","x equals 13: "],
["string.interpolated","${"],
["variable","x"],
["string.interpolated","}"],
@ -182,16 +182,16 @@
["keyword",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#list"],
["text"," "],
["variable","items"],
@ -202,14 +202,14 @@
["keyword",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"],
["string.interpolated","${"],
["variable","item_index"],
["string.interpolated","}"],
["text",": "],
["text.xml",": "],
["string.interpolated","${"],
["variable","item.name"],
["keyword.operator","!"],
@ -223,26 +223,26 @@
["constant.numeric","0"],
["paren.rparen","]"],
["string.interpolated","}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","</#list"],
["keyword",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," User directive: "],
["text.xml"," User directive: "],
["keyword.other","<@lib.function"],
["text"," "],
["variable","attr1"],
@ -257,21 +257,21 @@
["keyword.operator","="],
["constant.numeric","-42.12"],
["keyword",">"],
["text","Test"],
["text.xml","Test"],
["keyword.other","</@lib.function"],
["keyword",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.other","<@anotherOne"],
["text"," "],
["keyword","/>"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#if"],
["text"," "],
["variable","variable"],
@ -279,10 +279,10 @@
["keyword",">"]
],[
"start",
["text"," Deprecated"]
["text.xml"," Deprecated"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#elseif"],
["text"," "],
["variable","variable"],
@ -290,52 +290,52 @@
["keyword",">"]
],[
"start",
["text"," Better"]
["text.xml"," Better"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","<#else"],
["keyword",">"]
],[
"start",
["text"," Default"]
["text.xml"," Default"]
],[
"start",
["text"," "],
["text.xml"," "],
["keyword.function","</#if"],
["keyword",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.image","img"],
["text"," "],
["entity.other.attribute-name","src"],
["keyword.operator.separator","="],
["string","\"images/"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.image.tag-name.xml","img"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","src"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"images/"],
["string.interpolated","${"],
["variable","user.id"],
["string.interpolated","}"],
["string",".png\""],
["text"," "],
["meta.tag.punctuation.end","/>"]
["string.attribute-value.xml",".png\""],
["text.tag-whitespace.xml"," "],
["meta.tag.punctuation.tag-close.xml","/>"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -7,16 +7,16 @@
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"comments\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"comments\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["storage.type.start","{{#"],
["variable.parameter","each"],
["text"," "],
@ -24,58 +24,58 @@
["storage.type.end","}}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\"/posts/"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"/posts/"],
["storage.type.start","{{"],
["text","../"],
["variable.parameter","permalink"],
["storage.type.end","}}"],
["string","#"],
["string.attribute-value.xml","#"],
["storage.type.start","{{"],
["variable.parameter","id"],
["storage.type.end","}}"],
["string","\""],
["meta.tag.punctuation.end",">"],
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["storage.type.start","{{"],
["variable.parameter","title"],
["storage.type.end","}}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["storage.type.start","{{"],
["variable.parameter","body"],
["storage.type.end","}}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["storage.type.start","{{/"],
["variable.parameter","each"],
["storage.type.end","}}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -1,51 +1,51 @@
[[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["text"," "],
["entity.other.attribute-name","a"],
["keyword.operator.separator","="],
["string","'a'"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","a"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","'a'"],
["meta.tag.punctuation.tag-close.xml",">"],
["storage.type","var"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"],
["text","'123'"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","'123'"]
],[
["qqstring_inner","start_tag_stuff"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\"abc"]
["string.attribute-value.xml0","tag_stuff"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"abc"]
],[
"start",
["string"," def\""],
["meta.tag.punctuation.end",">"]
["string.attribute-value.xml"," def\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
["qstring_inner","start_tag_stuff"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","'abc"]
["string.attribute-value.xml","tag_stuff"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","'abc"]
],[
"start",
["string","def\\'"],
["meta.tag.punctuation.end",">"]
["string.attribute-value.xml","def\\'"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -1,82 +1,82 @@
[[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"],
["text","Listing Books"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Listing Books"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","table"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","table"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["text","Title"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Title"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["text","Summary"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Summary"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","th"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","th"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["support.ruby_tag","<%"],
@ -92,22 +92,22 @@
["support.ruby_tag","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["comment.start.erb","<%#"],
["comment"," comment "],
["comment.end.erb","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["support.ruby_tag","<%="],
["text"," "],
["identifier","book"],
@ -115,15 +115,15 @@
["identifier","title"],
["text"," "],
["support.ruby_tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["support.ruby_tag","<%="],
["text"," "],
["identifier","book"],
@ -131,15 +131,15 @@
["identifier","content"],
["text"," "],
["support.ruby_tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["support.ruby_tag","<%="],
["text"," "],
["support.function","link_to"],
@ -149,15 +149,15 @@
["identifier","book"],
["text"," "],
["support.ruby_tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["support.ruby_tag","<%="],
["text"," "],
["support.function","link_to"],
@ -170,15 +170,15 @@
["paren.rparen",")"],
["text"," "],
["support.ruby_tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"],
["support.ruby_tag","<%="],
["text"," "],
["support.function","link_to"],
@ -200,15 +200,15 @@
["constant.other.symbol.ruby",":delete"],
["text"," "],
["support.ruby_tag","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["support.ruby_tag","<%"],
@ -218,21 +218,21 @@
["support.ruby_tag","%>"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","table"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","table"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","br"],
["text"," "],
["meta.tag.punctuation.end","/>"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","br"],
["text.tag-whitespace.xml"," "],
["meta.tag.punctuation.tag-close.xml","/>"]
],[
"start",
["text"," "]
["text.xml"," "]
],[
"start",
["support.ruby_tag","<%="],

View file

@ -1,19 +1,19 @@
[[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"js-start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"js-start",
["text"," "],
@ -40,15 +40,15 @@
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"css-start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.style","style"],
["meta.tag.punctuation.end",">"]
["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"," "],
@ -69,20 +69,20 @@
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.style","style"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.style.tag-name.xml","style"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," Today's date: "],
["text.xml"," Today's date: "],
["meta.tag","<%"],
["keyword.operator","="],
["text"," "],
@ -103,13 +103,13 @@
["meta.tag","%>"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag","<%"],
["keyword.operator","!"],
["text"," "],
@ -124,7 +124,7 @@
["meta.tag","%>"]
],[
"jsp-start",
["text"," "],
["text.xml"," "],
["meta.tag","<jsp:declaration>"]
],[
"jsp-start",
@ -145,11 +145,11 @@
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["comment","<%-- This is JSP comment --%>"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag","<%@"],
["text"," "],
["identifier","directive"],
@ -163,161 +163,161 @@
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Select Languages:"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","form"],
["text"," "],
["entity.other.attribute-name","ACTION"],
["keyword.operator.separator","="],
["string","\"jspCheckBox.jsp\""],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"checkbox\""],
["text"," "],
["entity.other.attribute-name","name"],
["keyword.operator.separator","="],
["string","\"id\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\"Java\""],
["meta.tag.punctuation.end",">"],
["text"," Java"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","BR"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"checkbox\""],
["text"," "],
["entity.other.attribute-name","name"],
["keyword.operator.separator","="],
["string","\"id\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\".NET\""],
["meta.tag.punctuation.end",">"],
["text"," .NET"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","BR"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"checkbox\""],
["text"," "],
["entity.other.attribute-name","name"],
["keyword.operator.separator","="],
["string","\"id\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\"PHP\""],
["meta.tag.punctuation.end",">"],
["text"," PHP"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","BR"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"checkbox\""],
["text"," "],
["entity.other.attribute-name","name"],
["keyword.operator.separator","="],
["string","\"id\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\"C/C++\""],
["meta.tag.punctuation.end",">"],
["text"," C/C++"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","BR"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"checkbox\""],
["text"," "],
["entity.other.attribute-name","name"],
["keyword.operator.separator","="],
["string","\"id\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\"PERL\""],
["meta.tag.punctuation.end",">"],
["text"," PERL "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","BR"],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.form","input"],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"submit\""],
["text"," "],
["entity.other.attribute-name","value"],
["keyword.operator.separator","="],
["string","\"Submit\""],
["meta.tag.punctuation.end",">"]
["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"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.form","form"],
["meta.tag.punctuation.end",">"]
["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"," "],
["text.xml"," "],
["meta.tag","<%"]
],[
"jsp-start",
@ -424,12 +424,12 @@
["meta.tag","%>"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -1,56 +1,56 @@
[[
"start",
["text","The following examples can be found in full at http://liquidmarkup.org/"]
["text.xml","The following examples can be found in full at http://liquidmarkup.org/"]
],[
"start"
],[
"start",
["text","Liquid is an extraction from the e-commerce system Shopify."]
["text.xml","Liquid is an extraction from the e-commerce system Shopify."]
],[
"start",
["text","Shopify powers many thousands of e-commerce stores which all call for unique designs."]
["text.xml","Shopify powers many thousands of e-commerce stores which all call for unique designs."]
],[
"start",
["text","For this we developed Liquid which allows our customers complete design freedom while"]
["text.xml","For this we developed Liquid which allows our customers complete design freedom while"]
],[
"start",
["text","maintaining the integrity of our servers."]
["text.xml","maintaining the integrity of our servers."]
],[
"start"
],[
"start",
["text","Liquid has been in production use since June 2006 and is now used by many other"]
["text.xml","Liquid has been in production use since June 2006 and is now used by many other"]
],[
"start",
["text","hosted web applications."]
["text.xml","hosted web applications."]
],[
"start"
],[
"start",
["text","It was developed for usage in Ruby on Rails web applications and integrates seamlessly"]
["text.xml","It was developed for usage in Ruby on Rails web applications and integrates seamlessly"]
],[
"start",
["text","as a plugin but it also works excellently as a stand alone library."]
["text.xml","as a plugin but it also works excellently as a stand alone library."]
],[
"start"
],[
"start",
["text","Here's what it looks like:"]
["text.xml","Here's what it looks like:"]
],[
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","ul"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"products\""],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","ul"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"products\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","for"],
@ -64,16 +64,16 @@
["variable","%}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["variable","{{"],
["text"," "],
["identifier","product"],
@ -81,12 +81,12 @@
["identifier","title"],
["text"," "],
["variable","}}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," Only "],
["text.xml"," Only "],
["variable","{{"],
["text"," "],
["identifier","product"],
@ -100,10 +100,10 @@
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["variable","{{"],
["text"," "],
["identifier","product"],
@ -117,20 +117,20 @@
["constant.numeric","200"],
["text"," "],
["variable","}}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endfor"],
@ -138,34 +138,34 @@
["variable","%}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start"
],[
"start",
["text","Some more features include:"]
["text.xml","Some more features include:"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Filters"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Filters"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text"," The word \"tobi\" in uppercase: "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," The word \"tobi\" in uppercase: "],
["variable","{{"],
["text"," "],
["string","'tobi'"],
@ -173,16 +173,16 @@
["support.function","upcase"],
["text"," "],
["variable","}}"],
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text","The word \"tobi\" has "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","The word \"tobi\" has "],
["variable","{{"],
["text"," "],
["string","'tobi'"],
@ -190,16 +190,16 @@
["support.function","size"],
["text"," "],
["variable","}}"],
["text"," letters! "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," letters! "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text","Change \"Hello world\" to \"Hi world\": "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Change \"Hello world\" to \"Hi world\": "],
["variable","{{"],
["text"," "],
["string","'Hello world'"],
@ -211,16 +211,16 @@
["string","'Hi'"],
["text"," "],
["variable","}}"],
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["text","The date today is "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","The date today is "],
["variable","{{"],
["text"," "],
["string","'now'"],
@ -230,31 +230,31 @@
["string","\"%Y %b %d\""],
["text"," "],
["variable","}}"],
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","If"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","If"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","if"],
@ -278,13 +278,13 @@
["string","'marc'"],
["text"," "],
["variable","%}"],
["text"," "]
["text.xml"," "]
],[
"start",
["text"," hi marc or tobi"]
["text.xml"," hi marc or tobi"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endif"],
@ -292,30 +292,30 @@
["variable","%}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Case"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Case"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","case"],
@ -325,7 +325,7 @@
["variable","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","when"],
@ -335,10 +335,10 @@
["variable","%}"]
],[
"start",
["text"," Welcome"]
["text.xml"," Welcome"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","when"],
@ -348,7 +348,7 @@
["variable","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{{"],
["text"," "],
["identifier","product"],
@ -358,7 +358,7 @@
["identifier","link_to_vendor"],
["text"," "],
["variable","}}"],
["text"," / "],
["text.xml"," / "],
["variable","{{"],
["text"," "],
["identifier","product"],
@ -368,7 +368,7 @@
["variable","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","else"],
@ -376,7 +376,7 @@
["variable","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{{"],
["text"," "],
["identifier","page_title"],
@ -384,7 +384,7 @@
["variable","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endcase"],
@ -392,30 +392,30 @@
["variable","%}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","For Loops"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","For Loops"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","for"],
@ -427,10 +427,10 @@
["identifier","array"],
["text"," "],
["variable","%}"],
["text"," "]
["text.xml"," "]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{{"],
["text"," "],
["identifier","item"],
@ -438,7 +438,7 @@
["variable","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endfor"],
@ -446,30 +446,30 @@
["variable","%}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Tables"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Tables"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","tablerow"],
@ -487,7 +487,7 @@
["variable","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","if"],
@ -499,7 +499,7 @@
["variable","%}"]
],[
"start",
["text"," First column: "],
["text.xml"," First column: "],
["variable","{{"],
["text"," "],
["identifier","item"],
@ -509,7 +509,7 @@
["variable","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","else"],
@ -517,7 +517,7 @@
["variable","%}"]
],[
"start",
["text"," Different column: "],
["text.xml"," Different column: "],
["variable","{{"],
["text"," "],
["identifier","item"],
@ -527,7 +527,7 @@
["variable","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endif"],
@ -535,7 +535,7 @@
["variable","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable","{%"],
["text"," "],
["keyword","endtablerow"],
@ -543,9 +543,9 @@
["variable","%}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -1,24 +1,24 @@
[[
"doctype",
["text",""],
["punctuation.doctype.begin","<!"],
["meta.tag.doctype","DOCTYPE"],
["text"," "],
["xml-pe","html"],
["text"," "],
["xml-pe","PUBLIC"],
["text"," "],
["string","\"-//W3C//DTD XHTML 1.0 Strict//EN\""]
["text.xml",""],
["xml-pe.doctype.xml","<!"],
["xml-pe.doctype.xml","DOCTYPE"],
["text.whitespace.xml"," "],
["xml-pe.xml","html"],
["text.whitespace.xml"," "],
["xml-pe.xml","PUBLIC"],
["text.whitespace.xml"," "],
["string.xml","\"-//W3C//DTD XHTML 1.0 Strict//EN\""]
],[
"start",
["text"," "],
["string","\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\""],
["punctuation.doctype.end",">"]
["text.whitespace.xml"," "],
["string.xml","\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\""],
["xml-pe.doctype.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
["lua-bracketedComment",2,"lua-start"],
["keyword","<%"],
@ -37,32 +37,32 @@
["keyword","%>"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"],
["text","Reference"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Reference"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","link"],
["text"," "],
["entity.other.attribute-name","rel"],
["keyword.operator.separator","="],
["string","\"stylesheet\""],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\""],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","link"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","rel"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"stylesheet\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\""],
["keyword","<%="],
["identifier","luadoc"],
["text","."],
@ -75,129 +75,129 @@
["string","\"luadoc.css\""],
["paren.rparen",")"],
["keyword","%>"],
["string","\""],
["text"," "],
["entity.other.attribute-name","type"],
["keyword.operator.separator","="],
["string","\"text/css\""],
["text"," "],
["meta.tag.punctuation.end","/>"]
["string.attribute-value.xml","\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","type"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"text/css\""],
["text.tag-whitespace.xml"," "],
["meta.tag.punctuation.tag-close.xml","/>"]
],[
"start",
["text","\t"],
["comment","<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->"]
["text.xml","\t"],
["comment.xml","<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"container\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"container\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"product\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"product\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"product_logo\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"product_logo\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"product_name\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","big"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","b"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","b"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","big"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"product_name\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","big"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","big"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"product_description\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"product_description\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"product\" -->"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"product\" -->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"main\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"main\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"navigation\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"navigation\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","<%="],
@ -223,22 +223,22 @@
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"navigation\" -->"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"navigation\" -->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"content\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"content\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
@ -267,25 +267,25 @@
["keyword","then%>"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Modules"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Modules"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","table"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"module_list\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","table"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"module_list\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["comment","<!--<tr><td colspan=\"2\">Modules</td></tr>-->"]
["comment.xml","<!--<tr><td colspan=\"2\">Modules</td></tr>-->"]
],[
"start",
["keyword","<%for"],
@ -306,26 +306,26 @@
["keyword","do%>"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"name\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\""],
["text.xml","\t\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"name\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\""],
["keyword","<%="],
["identifier","luadoc"],
["text","."],
@ -340,27 +340,27 @@
["identifier","doc"],
["paren.rparen",")"],
["keyword","%>"],
["string","\""],
["meta.tag.punctuation.end",">"],
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["keyword","<%="],
["identifier","modulename"],
["keyword","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"summary\""],
["meta.tag.punctuation.end",">"],
["text.xml","\t\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"summary\""],
["meta.tag.punctuation.tag-close.xml",">"],
["keyword","<%="],
["identifier","doc"],
["text","."],
@ -371,23 +371,23 @@
["text","."],
["identifier","summary"],
["keyword","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","<%end%>"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","table"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","table"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","<%end%>"]
@ -421,25 +421,25 @@
["keyword","then%>"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"],
["text","Files"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h2"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Files"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h2"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","table"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"file_list\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","table"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"file_list\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["comment","<!--<tr><td colspan=\"2\">Files</td></tr>-->"]
["comment.xml","<!--<tr><td colspan=\"2\">Files</td></tr>-->"]
],[
"start",
["keyword","<%for"],
@ -460,26 +460,26 @@
["keyword","do%>"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"name\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\""],
["text.xml","\t\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"name\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\""],
["keyword","<%="],
["identifier","luadoc"],
["text","."],
@ -492,44 +492,44 @@
["identifier","filepath"],
["paren.rparen",")"],
["keyword","%>"],
["string","\""],
["meta.tag.punctuation.end",">"],
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["keyword","<%="],
["identifier","filepath"],
["keyword","%>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.table","td"],
["text"," "],
["entity.other.attribute-name","class"],
["keyword.operator.separator","="],
["string","\"summary\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","td"],
["meta.tag.punctuation.end",">"]
["text.xml","\t\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.table.tag-name.xml","td"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","class"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"summary\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","td"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","tr"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","tr"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","<%end%>"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name.table","table"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.table.tag-name.xml","table"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","<%end%>"]
@ -537,97 +537,97 @@
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"content\" -->"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"content\" -->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"main\" -->"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"main\" -->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","div"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"about\""],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","div"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"about\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","\t"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\"http://validator.w3.org/check?uri=referer\""],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.image","img"],
["text"," "],
["entity.other.attribute-name","src"],
["keyword.operator.separator","="],
["string","\"http://www.w3.org/Icons/valid-xhtml10\""],
["text"," "],
["entity.other.attribute-name","alt"],
["keyword.operator.separator","="],
["string","\"Valid XHTML 1.0!\""],
["text"," "],
["entity.other.attribute-name","height"],
["keyword.operator.separator","="],
["string","\"31\""],
["text"," "],
["entity.other.attribute-name","width"],
["keyword.operator.separator","="],
["string","\"88\""],
["text"," "],
["meta.tag.punctuation.end","/>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","p"],
["meta.tag.punctuation.end",">"]
["text.xml","\t"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"http://validator.w3.org/check?uri=referer\""],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.image.tag-name.xml","img"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","src"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"http://www.w3.org/Icons/valid-xhtml10\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","alt"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"Valid XHTML 1.0!\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","height"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"31\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","width"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"88\""],
["text.tag-whitespace.xml"," "],
["meta.tag.punctuation.tag-close.xml","/>"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"about\" -->"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"about\" -->"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","div"],
["meta.tag.punctuation.end",">"],
["text"," "],
["comment","<!-- id=\"container\" -->"],
["text","\t"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","div"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," "],
["comment.xml","<!-- id=\"container\" -->"],
["text.xml","\t"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -1,49 +1,49 @@
[[
"start",
["text","test: header 1 "]
["text.xml","test: header 1 "]
],[
"start",
["markup.heading.1","#"],
["heading","f"]
],[
"start",
["text","test: header 2"]
["text.xml","test: header 2"]
],[
"start",
["markup.heading.2","##"],
["heading"," foo"]
],[
"start",
["text","test: header ends with ' #'"]
["text.xml","test: header ends with ' #'"]
],[
"start",
["markup.heading.1","#"],
["heading"," # # "]
],[
"start",
["text","test: header ends with '#'"]
["text.xml","test: header ends with '#'"]
],[
"start",
["markup.heading.1","#"],
["heading","foo# "]
],[
"start",
["text","test: 6+ #s is not a valid header"]
["text.xml","test: 6+ #s is not a valid header"]
],[
"start",
["text","####### foo"]
["text.xml","####### foo"]
],[
"start",
["text","test: # followed be only space is not a valid header"]
["text.xml","test: # followed be only space is not a valid header"]
],[
"start",
["text","# "]
["text.xml","# "]
],[
"start",
["text","test: only space between #s is not a valid header"]
["text.xml","test: only space between #s is not a valid header"]
],[
"start",
["text","# #"]
["text.xml","# #"]
],[
"allowBlock"
],[
@ -99,14 +99,14 @@
"start"
],[
"start",
["text","in plain text "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","b"],
["meta.tag.punctuation.end",">"],
["text","http://ace.ajaxorg.com"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","b"],
["meta.tag.punctuation.end",">"]
["text.xml","in plain text "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","http://ace.ajaxorg.com"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"allowBlock"
],[

View file

@ -1,55 +1,55 @@
[[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"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",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Title"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"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",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","This is an R HTML document. When you click the "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","Knit HTML"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","b"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml"," 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.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
@ -68,13 +68,13 @@
"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",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","You can also embed plots, for example:"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","p"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
@ -93,14 +93,14 @@
"start"
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
]]

View file

@ -32,7 +32,7 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","if"],
["meta.tag.if.soy"," "],
@ -42,31 +42,31 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," Hello "],
["text.xml"," Hello "],
["punctuation.definition.tag.begin.soy","{"],
["variable.other.soy","$name"],
["punctuation.definition.tag.end.soy","}"],
["text","!"]
["text.xml","!"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["text","else"],
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["variable.other.soy","$greetingWord"],
["punctuation.definition.tag.end.soy","}"],
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["variable.other.soy","$name"],
["punctuation.definition.tag.end.soy","}"],
["text","!"]
["text.xml","!"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{/"],
["entity.name.tag.soy","if"],
["punctuation.definition.tag.end.soy","}"]
@ -115,7 +115,7 @@
["comment.line.double-slash.soy"," Greet the person."]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","call"],
["variable.parameter.soy"," .helloName"],
@ -125,9 +125,9 @@
["string.quoted.double","\"all\""],
["meta.tag.call.soy"," /"],
["punctuation.definition.tag.end.soy","}"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","br"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","br"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["comment.line.double-slash.soy"," "],
@ -135,7 +135,7 @@
["comment.line.double-slash.soy"," Greet the additional people."]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","foreach"],
["meta.tag.foreach.soy"," "],
@ -147,14 +147,14 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","call"],
["variable.parameter.soy"," .helloName"],
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","param"],
["text"," "],
@ -167,13 +167,13 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{/"],
["meta.tag.call.soy","call"],
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["entity.name.tag.soy","if"],
["meta.tag.if.soy"," "],
@ -186,31 +186,31 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","br"],
["meta.tag.punctuation.end",">"],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","br"],
["meta.tag.punctuation.tag-close.xml",">"],
["comment.line.double-slash.soy"," "],
["punctuation.definition.comment.soy","//"],
["comment.line.double-slash.soy"," break after every line except the last"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{/"],
["entity.name.tag.soy","if"],
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{"],
["text","ifempty"],
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," No additional people to greet."]
["text.xml"," No additional people to greet."]
],[
"start",
["text"," "],
["text.xml"," "],
["punctuation.definition.tag.begin.soy","{/"],
["entity.name.tag.soy","foreach"],
["punctuation.definition.tag.end.soy","}"]
@ -275,7 +275,7 @@
["punctuation.definition.tag.end.soy","}"]
],[
"start",
["text"," foo is "],
["text.xml"," foo is "],
["punctuation.definition.tag.begin.soy","{"],
["variable.other.soy","$ij.foo"],
["punctuation.definition.tag.end.soy","}"]

View file

@ -1,65 +1,65 @@
[[
"meta.tag.punctuation.begin0",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","svg"]
"meta.tag.punctuation.tag-open.xml1",
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","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.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.begin0",
["text"," "],
["entity.other.attribute-name","xmlns"],
["keyword.operator.separator","="],
["string","\"http://www.w3.org/2000/svg\""]
"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"," "],
["entity.other.attribute-name","onload"],
["keyword.operator.separator","="],
["string","\"StartAnimation(evt)\""],
["meta.tag.punctuation.end",">"]
["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"," "],
["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",">"]
["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"," "],
["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",">"]
["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"," "],
["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["]
["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"," "],
@ -488,197 +488,197 @@
],[
"start",
["text"," "],
["string.end","]]>"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"]
["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.begin0",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","rect"]
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","rect"]
],[
"meta.tag.punctuation.begin0",
["text"," "],
["entity.other.attribute-name","fill"],
["keyword.operator.separator","="],
["string","\"#2e3436\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","fill-rule"],
["keyword.operator.separator","="],
["string","\"nonzero\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","stroke-width"],
["keyword.operator.separator","="],
["string","\"3\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","y"],
["keyword.operator.separator","="],
["string","\"0\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","x"],
["keyword.operator.separator","="],
["string","\"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.begin0",
["text"," "],
["entity.other.attribute-name","height"],
["keyword.operator.separator","="],
["string","\"600\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","width"],
["keyword.operator.separator","="],
["string","\"800\""]
"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"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"rect3590\""],
["meta.tag.punctuation.end","/>"]
["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.begin0",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","text"]
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","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.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.begin0",
["text"," "],
["entity.other.attribute-name","x"],
["keyword.operator.separator","="],
["string","\"50\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","y"],
["keyword.operator.separator","="],
["string","\"350\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"hickory\""]
"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"," "],
["entity.other.attribute-name","display"],
["keyword.operator.separator","="],
["string","\"none\""],
["meta.tag.punctuation.end",">"]
["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"," Hickory,"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","text"],
["meta.tag.punctuation.end",">"]
["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.begin0",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","text"]
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","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.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.begin0",
["text"," "],
["entity.other.attribute-name","x"],
["keyword.operator.separator","="],
["string","\"50\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","y"],
["keyword.operator.separator","="],
["string","\"350\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"dickory\""]
"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"," "],
["entity.other.attribute-name","display"],
["keyword.operator.separator","="],
["string","\"none\""],
["meta.tag.punctuation.end",">"]
["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"," dickory,"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","text"],
["meta.tag.punctuation.end",">"]
["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.begin0",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","text"]
"meta.tag.punctuation.tag-open.xml1",
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","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.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.begin0",
["text"," "],
["entity.other.attribute-name","x"],
["keyword.operator.separator","="],
["string","\"50\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","y"],
["keyword.operator.separator","="],
["string","\"350\""]
"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.begin0",
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"dock\""]
"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"," "],
["entity.other.attribute-name","display"],
["keyword.operator.separator","="],
["string","\"none\""],
["meta.tag.punctuation.end",">"]
["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"," dock!"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","text"],
["meta.tag.punctuation.end",">"]
["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.begin","</"],
["meta.tag.name","svg"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","svg"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -1,56 +1,56 @@
[[
"start",
["punctuation.doctype.begin","<!"],
["meta.tag.doctype","DOCTYPE"],
["text"," "],
["xml-pe","html"],
["punctuation.doctype.end",">"]
["xml-pe.doctype.xml","<!"],
["xml-pe.doctype.xml","DOCTYPE"],
["text.whitespace.xml"," "],
["xml-pe.xml","html"],
["xml-pe.doctype.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"],
["text","My Webpage"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","title"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","My Webpage"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","title"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","head"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","head"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","ul"],
["text"," "],
["entity.other.attribute-name","id"],
["keyword.operator.separator","="],
["string","\"navigation\""],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","ul"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","id"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"navigation\""],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","for"],
@ -64,16 +64,16 @@
["meta.tag.twig","%}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name.anchor","a"],
["text"," "],
["entity.other.attribute-name","href"],
["keyword.operator.separator","="],
["string","\""],
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.anchor.tag-name.xml","a"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","href"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\""],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","item"],
@ -83,8 +83,8 @@
["support.function.twig","escape"],
["text"," "],
["variable.other.readwrite.local.twig","}}"],
["string","\""],
["meta.tag.punctuation.end",">"],
["string.attribute-value.xml","\""],
["meta.tag.punctuation.tag-close.xml",">"],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","item"],
@ -92,15 +92,15 @@
["identifier","caption"],
["text"," "],
["variable.other.readwrite.local.twig","}}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name.anchor","a"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.anchor.tag-name.xml","a"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","endfor"],
@ -108,15 +108,15 @@
["meta.tag.twig","%}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","if"],
@ -142,11 +142,11 @@
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["comment.block.twig","{# is equivalent to #}"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","if"],
@ -173,7 +173,7 @@
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","autoescape"],
@ -183,7 +183,7 @@
["meta.tag.twig","%}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","var"],
@ -191,7 +191,7 @@
["variable.other.readwrite.local.twig","}}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","var"],
@ -199,11 +199,11 @@
["support.function.twig","raw"],
["text"," "],
["variable.other.readwrite.local.twig","}}"],
["text"," "],
["text.xml"," "],
["comment.block.twig","{# var won't be escaped #}"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","var"],
@ -211,11 +211,11 @@
["support.function.twig","escape"],
["text"," "],
["variable.other.readwrite.local.twig","}}"],
["text"," "],
["text.xml"," "],
["comment.block.twig","{# var won't be doubled-escaped #}"]
],[
"start",
["text"," "],
["text.xml"," "],
["meta.tag.twig","{%"],
["text"," "],
["keyword.control.twig","endautoescape"],
@ -225,7 +225,7 @@
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["keyword.control.twig","include"],
@ -245,7 +245,7 @@
"start"
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["string","\"string "],
["constant.language.escape","#{with}"],
@ -258,17 +258,17 @@
["variable.other.readwrite.local.twig","}}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"],
["text","My Webpage"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","h1"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","My Webpage"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","h1"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
["text.xml"," "],
["variable.other.readwrite.local.twig","{{"],
["text"," "],
["identifier","a_variable"],
@ -276,13 +276,13 @@
["variable.other.readwrite.local.twig","}}"]
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","body"],
["meta.tag.punctuation.end",">"]
["text.xml"," "],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","body"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","html"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","html"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -26,15 +26,15 @@
],[
"start",
["text"," "],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"],
["variable","${"],
["identifier","item"],
["variable","}"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","li"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","li"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["keyword","#end"]
@ -55,11 +55,14 @@
["text"," "],
["lparen","["],
["constant.numeric","1"],
["text",", "],
["text.xml",","],
["text"," "],
["constant.numeric","2"],
["text",", "],
["text.xml",","],
["text"," "],
["constant.numeric","3"],
["text",", "],
["text.xml",","],
["text"," "],
["constant.numeric","4"],
["rparen","]"],
["text"," "],
@ -68,9 +71,9 @@
"start"
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text"," "],
@ -97,11 +100,12 @@
["lparen","("],
["text"," "],
["support.function","$_MathTool"],
["text","."],
["text.xml","."],
["identifier","mod"],
["lparen","("],
["variable","$item"],
["text",", "],
["text.xml",","],
["text"," "],
["constant.numeric","2"],
["rparen",")"],
["text"," "],
@ -128,16 +132,16 @@
["keyword","#end"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name","ul"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","ul"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"js-start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"js-comment_regex_allowed",
["text"," "],
@ -216,16 +220,16 @@
["paren.rparen","}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name.script","script"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.script.tag-name.xml","script"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start"
],[
"css-start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name.style","style"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.style.tag-name.xml","style"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
["css-comment","css-start"],
["text"," "],
@ -275,7 +279,7 @@
["paren.rparen","}"]
],[
"start",
["meta.tag.punctuation.begin","</"],
["meta.tag.name.style","style"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.style.tag-name.xml","style"],
["meta.tag.punctuation.tag-close.xml",">"]
]]

View file

@ -1,43 +1,43 @@
[[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","Juhu"],
["meta.tag.punctuation.end",">"],
["text","//Juhu Kinners"],
["meta.tag.punctuation.begin","</"],
["meta.tag.name","Kinners"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","Juhu"],
["meta.tag.punctuation.tag-close.xml",">"],
["text.xml","//Juhu Kinners"],
["meta.tag.punctuation.end-tag-open.xml","</"],
["meta.tag.tag-name.xml","Kinners"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","test: two tags in the same lines should be in separate tokens\""]
["text.xml","test: two tags in the same lines should be in separate tokens\""]
],[
"start",
["meta.tag.punctuation.begin","<"],
["meta.tag.name","Juhu"],
["meta.tag.punctuation.end",">"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","Kinners"],
["meta.tag.punctuation.end",">"]
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","Juhu"],
["meta.tag.punctuation.tag-close.xml",">"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","Kinners"],
["meta.tag.punctuation.tag-close.xml",">"]
],[
"start",
["text","test: multiline attributes\""]
["text.xml","test: multiline attributes\""]
],[
["qqstring_inner","meta.tag.punctuation.begin"],
["meta.tag.punctuation.begin","<"],
["meta.tag.name","copy"],
["text"," "],
["entity.other.attribute-name","set"],
["keyword.operator.separator","="],
["string","\"{"]
["string.attribute-value.xml0","meta.tag.punctuation.tag-open.xml"],
["meta.tag.punctuation.tag-open.xml","<"],
["meta.tag.tag-name.xml","copy"],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","set"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"{"]
],[
["qqstring_inner","meta.tag.punctuation.begin"],
["string","}\""],
["text"," "],
["entity.other.attribute-name","undo"],
["keyword.operator.separator","="],
["string","\"{"]
["string.attribute-value.xml0","meta.tag.punctuation.tag-open.xml"],
["string.attribute-value.xml","}\""],
["text.tag-whitespace.xml"," "],
["entity.other.attribute-name.xml","undo"],
["keyword.operator.attribute-equals.xml","="],
["string.attribute-value.xml","\"{"]
],[
"start",
["string","}\""],
["meta.tag.punctuation.end","/>"]
["string.attribute-value.xml","}\""],
["meta.tag.punctuation.tag-close.xml","/>"]
]]

View file

@ -1,95 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Ajax.org B.V. nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ***** END LICENSE BLOCK ***** */
define(function(require, exports, module) {
"use strict";
var oop = require("../../lib/oop");
var XmlBehaviour = require("../behaviour/xml").XmlBehaviour;
var CstyleBehaviour = require("./cstyle").CstyleBehaviour;
var TokenIterator = require("../../token_iterator").TokenIterator;
var voidElements = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
function hasType(token, type) {
var hasType = true;
var typeList = token.type.split('.');
var needleList = type.split('.');
needleList.forEach(function(needle){
if (typeList.indexOf(needle) == -1) {
hasType = false;
return false;
}
});
return hasType;
}
var CfmlBehaviour = function () {
this.inherit(XmlBehaviour); // Get xml behaviour
this.add("autoclosing", "insertion", function (state, action, editor, session, text) {
if (text == '>') {
var position = editor.getCursorPosition();
var iterator = new TokenIterator(session, position.row, position.column);
var token = iterator.getCurrentToken();
if (token && hasType(token, 'meta.tag.name') && /^cf+(abort|application|argument|associate|break|cache|collection|cookie|dbinfo|directory|dump|else|elseif|error|exchangecalendar|exchangeconnection|exchangecontact|exchangefilter|exchangetask|exit|feed|file|flush|ftp|header|htmlhead|httpparam|image|import|include|index|insert|invokeargument|location|log|mailparam|NTauthenticate|object|objectcache|param|pdfformparam|print|procparam|procresult|property|queryparam|registry|reportparam|rethrow|return|schedule|search|set|setting|throw|zipparam)$/gi.test(token.value))
return;
if (hasType(token, 'string') && iterator.getCurrentTokenColumn() + token.value.length > position.column)
return;
var atCursor = false;
if (!token || !hasType(token, 'meta.tag') && !(hasType(token, 'text') && token.value.match('/'))){
do {
token = iterator.stepBackward();
} while (token && (hasType(token, 'string') || hasType(token, 'keyword.operator') || hasType(token, 'entity.attribute-name') || hasType(token, 'text')));
} else {
atCursor = true;
}
if (!token || !hasType(token, 'meta.tag.name') || iterator.stepBackward().value.match('/')) {
return
}
var element = token.value;
if (atCursor){
var element = element.substring(0, position.column - token.start);
}
if (voidElements.indexOf(element) !== -1){
return;
}
return {
text: '>' + '</' + element + '>',
selection: [1, 1]
}
}
});
}
oop.inherits(CfmlBehaviour, XmlBehaviour);
exports.CfmlBehaviour = CfmlBehaviour;
});

View file

@ -33,55 +33,13 @@ define(function(require, exports, module) {
var oop = require("../../lib/oop");
var XmlBehaviour = require("../behaviour/xml").XmlBehaviour;
var CstyleBehaviour = require("./cstyle").CstyleBehaviour;
var TokenIterator = require("../../token_iterator").TokenIterator;
var voidElements = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
function hasType(token, type) {
var tokenTypes = token.type.split('.');
return type.split('.').every(function(type){
return (tokenTypes.indexOf(type) !== -1);
});
return hasType;
}
var HtmlBehaviour = function () {
this.inherit(XmlBehaviour); // Get xml behaviour
this.add("autoclosing", "insertion", function (state, action, editor, session, text) {
if (text == '>') {
var position = editor.getCursorPosition();
var iterator = new TokenIterator(session, position.row, position.column);
var token = iterator.getCurrentToken();
XmlBehaviour.call(this);
};
if (token && hasType(token, 'string') && iterator.getCurrentTokenColumn() + token.value.length > position.column)
return;
var atCursor = false;
if (!token || !hasType(token, 'meta.tag') && !(hasType(token, 'text') && token.value.match('/'))){
do {
token = iterator.stepBackward();
} while (token && (hasType(token, 'string') || hasType(token, 'keyword.operator') || hasType(token, 'entity.attribute-name') || hasType(token, 'text')));
} else {
atCursor = true;
}
if (!token || !hasType(token, 'meta.tag.name') || iterator.stepBackward().value.match('/')) {
return;
}
var element = token.value;
if (atCursor){
var element = element.substring(0, position.column - token.start);
}
if (voidElements.indexOf(element) !== -1){
return;
}
return {
text: '>' + '</' + element + '>',
selection: [1, 1]
}
}
});
}
oop.inherits(HtmlBehaviour, XmlBehaviour);
exports.HtmlBehaviour = HtmlBehaviour;

View file

@ -33,49 +33,116 @@ define(function(require, exports, module) {
var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
var CstyleBehaviour = require("./cstyle").CstyleBehaviour;
var TokenIterator = require("../../token_iterator").TokenIterator;
function hasType(token, type) {
var tokenTypes = token.type.split('.');
return type.split('.').every(function(type){
return (tokenTypes.indexOf(type) !== -1);
});
return hasType;
function is(token, type) {
return token.type.lastIndexOf(type + ".xml") > -1;
}
var XmlBehaviour = function () {
this.inherit(CstyleBehaviour, ["string_dquotes"]); // Get string behaviour
this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
if (text == '"' || text == "'") {
var quote = text;
var selected = session.doc.getTextRange(editor.getSelectionRange());
if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
return {
text: quote + selected + quote,
selection: false
};
}
var cursor = editor.getCursorPosition();
var line = session.doc.getLine(cursor.row);
var rightChar = line.substring(cursor.column, cursor.column + 1);
var iterator = new TokenIterator(session, cursor.row, cursor.column);
var token = iterator.getCurrentToken();
if (rightChar == quote && (is(token, "attribute-value") || is(token, "string"))) {
// Ignore input and move right one if we're typing over the closing quote.
return {
text: "",
selection: [1, 1]
};
}
if (!token)
token = iterator.stepBackward();
if (!token)
return;
while (is(token, "tag-whitespace") || is(token, "whitespace")) {
token = iterator.stepBackward();
}
var rightSpace = !rightChar || rightChar.match(/\s/);
if (is(token, "attribute-equals") && (rightSpace || rightChar == '>') || (is(token, "decl-attribute-equals") && (rightSpace || rightChar == '?'))) {
return {
text: quote + quote,
selection: [1, 1]
};
}
}
});
this.add("string_dquotes", "deletion", function(state, action, editor, session, range) {
var selected = session.doc.getTextRange(range);
if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
var line = session.doc.getLine(range.start.row);
var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
if (rightChar == selected) {
range.end.column++;
return range;
}
}
});
this.add("autoclosing", "insertion", function (state, action, editor, session, text) {
if (text == '>') {
var position = editor.getCursorPosition();
var iterator = new TokenIterator(session, position.row, position.column);
var token = iterator.getCurrentToken();
var token = iterator.getCurrentToken() || iterator.stepBackward();
if (token && hasType(token, 'string') && iterator.getCurrentTokenColumn() + token.value.length > position.column)
// exit if we're not in a tag
if (!token || !(is(token, "tag-name") || is(token, "tag-whitespace") || is(token, "attribute-name") || is(token, "attribute-equals") || is(token, "attribute-value")))
return;
var atCursor = false;
if (!token || !hasType(token, 'meta.tag') && !(hasType(token, 'text') && token.value.match('/'))){
do {
token = iterator.stepBackward();
} while (token && (hasType(token, 'string') || hasType(token, 'keyword.operator') || hasType(token, 'entity.attribute-name') || hasType(token, 'text')));
} else {
atCursor = true;
}
if (!token || !hasType(token, 'meta.tag.name') || iterator.stepBackward().value.match('/')) {
// exit if we're inside of a quoted attribute value
if (is(token, "reference.attribute-value"))
return;
if (is(token, "attribute-value")) {
var firstChar = token.value.charAt(0);
if (firstChar == '"' || firstChar == "'") {
var lastChar = token.value.charAt(token.value.length - 1);
var tokenEnd = iterator.getCurrentTokenColumn() + token.value.length;
if (tokenEnd > position.column || tokenEnd == position.column && firstChar != lastChar)
return;
}
}
var tag = token.value;
if (atCursor){
var tag = tag.substring(0, position.column - token.start);
// find tag name
while (!is(token, "tag-name")) {
token = iterator.stepBackward();
}
var tokenRow = iterator.getCurrentTokenRow();
var tokenColumn = iterator.getCurrentTokenColumn();
// exit if the tag is ending
if (is(iterator.stepBackward(), "end-tag-open"))
return;
var element = token.value;
if (tokenRow == position.row)
element = element.substring(0, position.column - tokenColumn);
if (this.voidElements.hasOwnProperty(element.toLowerCase()))
return;
return {
text: '>' + '</' + tag + '>',
text: '>' + '</' + element + '>',
selection: [1, 1]
}
};
}
});
@ -91,12 +158,13 @@ var XmlBehaviour = function () {
return {
text: '\n' + indent + '\n' + next_indent,
selection: [1, indent.length, 1, indent.length]
}
};
}
}
});
}
};
oop.inherits(XmlBehaviour, Behaviour);
exports.XmlBehaviour = XmlBehaviour;

Some files were not shown because too many files have changed in this diff Show more