From fa906716198453b569d8087080bb905bf243ffde Mon Sep 17 00:00:00 2001 From: nightwing Date: Sun, 9 Dec 2012 19:15:07 +0400 Subject: [PATCH] update highlighting tests after change --- lib/ace/mode/_test/tokens_asciidoc.json | 3 +- lib/ace/mode/_test/tokens_c9search.json | 45 ++-- lib/ace/mode/_test/tokens_c_cpp.json | 15 +- lib/ace/mode/_test/tokens_clojure.json | 77 +++---- lib/ace/mode/_test/tokens_coldfusion.json | 9 +- lib/ace/mode/_test/tokens_diff.json | 9 +- lib/ace/mode/_test/tokens_golang.json | 15 +- lib/ace/mode/_test/tokens_groovy.json | 18 +- lib/ace/mode/_test/tokens_haml.json | 13 +- lib/ace/mode/_test/tokens_html.json | 20 +- lib/ace/mode/_test/tokens_javascript.json | 23 +- lib/ace/mode/_test/tokens_jsp.json | 68 +++--- lib/ace/mode/_test/tokens_latex.json | 4 +- lib/ace/mode/_test/tokens_less.json | 12 +- lib/ace/mode/_test/tokens_liquid.json | 74 ++++--- lib/ace/mode/_test/tokens_lua.json | 19 +- lib/ace/mode/_test/tokens_luapage.json | 243 +++++++++++----------- lib/ace/mode/_test/tokens_markdown.json | 45 ++-- lib/ace/mode/_test/tokens_objectivec.json | 27 +-- lib/ace/mode/_test/tokens_ocaml.json | 24 +-- lib/ace/mode/_test/tokens_perl.json | 6 +- lib/ace/mode/_test/tokens_pgsql.json | 15 +- lib/ace/mode/_test/tokens_php.json | 64 +----- lib/ace/mode/_test/tokens_powershell.json | 3 +- lib/ace/mode/_test/tokens_python.json | 6 +- lib/ace/mode/_test/tokens_r.json | 21 +- lib/ace/mode/_test/tokens_rdoc.json | 208 +++++------------- lib/ace/mode/_test/tokens_rhtml.json | 28 +-- lib/ace/mode/_test/tokens_scad.json | 33 +-- lib/ace/mode/_test/tokens_scala.json | 15 +- lib/ace/mode/_test/tokens_scss.json | 3 +- lib/ace/mode/_test/tokens_sh.json | 6 +- lib/ace/mode/_test/tokens_svg.json | 39 ++-- lib/ace/mode/_test/tokens_tcl.json | 16 +- lib/ace/mode/_test/tokens_tex.json | 13 +- lib/ace/mode/_test/tokens_textile.json | 12 +- lib/ace/mode/_test/tokens_typescript.json | 12 +- lib/ace/mode/_test/tokens_xml.json | 144 ++++++------- lib/ace/mode/_test/tokens_yaml.json | 4 +- 39 files changed, 538 insertions(+), 873 deletions(-) diff --git a/lib/ace/mode/_test/tokens_asciidoc.json b/lib/ace/mode/_test/tokens_asciidoc.json index 99c45dd3..61f63285 100644 --- a/lib/ace/mode/_test/tokens_asciidoc.json +++ b/lib/ace/mode/_test/tokens_asciidoc.json @@ -397,8 +397,7 @@ [ "text", " " ], [ "constant.language.escape", "->" ], [ "text", "--" ], - [ "constant.language.escape", "<=" ], - [ "constant.language.escape", " --" ], + [ "constant.language.escape", "<= --" ], [ "text", " replacements" ] ] }, diff --git a/lib/ace/mode/_test/tokens_c9search.json b/lib/ace/mode/_test/tokens_c9search.json index 9aeee5be..491d3c9f 100644 --- a/lib/ace/mode/_test/tokens_c9search.json +++ b/lib/ace/mode/_test/tokens_c9search.json @@ -20,104 +20,91 @@ "state": "start", "data": [ [ "c9searchresults.constant.numeric", " 1" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var fs = require(\"fs\");" ] + [ "c9searchresults.text", ": var fs = require(\"fs\");" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t2" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var argv = require('optimist').argv;" ] + [ "c9searchresults.text", ": var argv = require('optimist').argv;" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t3" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var path = require(\"path\");" ] + [ "c9searchresults.text", ": var path = require(\"path\");" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t5" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var clientExtensions = {};" ] + [ "c9searchresults.text", ": var clientExtensions = {};" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t6" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var clientDirs = fs.readdirSync(__dirname + \"/../plugins-client\");" ] + [ "c9searchresults.text", ": var clientDirs = fs.readdirSync(__dirname + \"/../plugins-client\");" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t7" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "for (var i = 0; i < clientDirs.length; i++) {" ] + [ "c9searchresults.text", ": for (var i = 0; i < clientDirs.length; i++) {" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t8" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var dir = clientDirs[i];" ] + [ "c9searchresults.text", ": var dir = clientDirs[i];" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t12" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var name = dir.split(\".\")[1];" ] + [ "c9searchresults.text", ": var name = dir.split(\".\")[1];" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t16" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var projectDir = (argv.w && path.resolve(process.cwd(), argv.w)) || process.cwd();" ] + [ "c9searchresults.text", ": var projectDir = (argv.w && path.resolve(process.cwd(), argv.w)) || process.cwd();" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t17" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var fsUrl = \"/workspace\";" ] + [ "c9searchresults.text", ": var fsUrl = \"/workspace\";" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t19" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var port = argv.p || process.env.PORT || 3131;" ] + [ "c9searchresults.text", ": var port = argv.p || process.env.PORT || 3131;" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t20" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var host = argv.l || \"localhost\";" ] + [ "c9searchresults.text", ": var host = argv.l || \"localhost\";" ] ] }, { "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t22" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var config = {" ] + [ "c9searchresults.text", ": var config = {" ] ] }, { @@ -135,8 +122,7 @@ "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t2" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var config = require(\"./default\");" ] + [ "c9searchresults.text", ": var config = require(\"./default\");" ] ] }, { @@ -154,8 +140,7 @@ "state": "start", "data": [ [ "c9searchresults.constant.numeric", "\t1" ], - [ "c9searchresults.text", ": " ], - [ "c9searchresults.text", "var config = require(\"./default\");" ] + [ "c9searchresults.text", ": var config = require(\"./default\");" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_c_cpp.json b/lib/ace/mode/_test/tokens_c_cpp.json index c7612814..0a6f9aae 100644 --- a/lib/ace/mode/_test/tokens_c_cpp.json +++ b/lib/ace/mode/_test/tokens_c_cpp.json @@ -147,8 +147,7 @@ [ "constant.numeric", "3" ], [ "punctuation.operator", ";" ], [ "text", " " ], - [ "comment", "/*" ], - [ "comment", " foobar */" ] + [ "comment", "/* foobar */" ] ] }, { @@ -168,8 +167,7 @@ "data": [ [ "text", " " ], [ "identifier", "a" ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "constant.numeric", "2" ], [ "punctuation.operator", ";" ], [ "text", " " ], @@ -182,8 +180,7 @@ [ "text", " " ], [ "identifier", "cout" ], [ "text", " " ], - [ "keyword.operator", "<" ], - [ "keyword.operator", "<" ], + [ "keyword.operator", "<<" ], [ "text", " " ], [ "identifier", "a" ], [ "punctuation.operator", ";" ] @@ -238,8 +235,7 @@ { "state": "start", "data": [ - [ "comment", "/*" ], - [ "comment", " Print an error message and get out */" ] + [ "comment", "/* Print an error message and get out */" ] ] }, { @@ -271,8 +267,7 @@ "state": "start", "data": [ [ "constant.other", "} while (0) " ], - [ "comment", "/*" ], - [ "comment", " Note: No semicolon */" ] + [ "comment", "/* Note: No semicolon */" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_clojure.json b/lib/ace/mode/_test/tokens_clojure.json index e83b3d89..47d197f9 100644 --- a/lib/ace/mode/_test/tokens_clojure.json +++ b/lib/ace/mode/_test/tokens_clojure.json @@ -12,33 +12,27 @@ "state": "start", "data": [ [ "text", " " ], - [ "string", "\"returns a String parting in a given language" ], - [ "string", "\"" ] + [ "string", "\"returns a String parting in a given language\"" ] ] }, { "state": "start", "data": [ [ "text", " " ], - [ "keyword", "(" ], - [ "keyword", "[" ], - [ "keyword", "]" ], + [ "keyword", "([]" ], [ "text", " " ], [ "keyword", "(" ], [ "identifier", "parting" ], [ "text", " " ], - [ "string", "\"World" ], - [ "string", "\"" ], - [ "keyword", ")" ], - [ "keyword", ")" ] + [ "string", "\"World\"" ], + [ "keyword", "))" ] ] }, { "state": "start", "data": [ [ "text", " " ], - [ "keyword", "(" ], - [ "keyword", "[" ], + [ "keyword", "([" ], [ "support.function", "name" ], [ "keyword", "]" ], [ "text", " " ], @@ -47,18 +41,15 @@ [ "text", " " ], [ "support.function", "name" ], [ "text", " " ], - [ "string", "\"en" ], - [ "string", "\"" ], - [ "keyword", ")" ], - [ "keyword", ")" ] + [ "string", "\"en\"" ], + [ "keyword", "))" ] ] }, { "state": "start", "data": [ [ "text", " " ], - [ "keyword", "(" ], - [ "keyword", "[" ], + [ "keyword", "([" ], [ "support.function", "name" ], [ "text", " " ], [ "identifier", "language" ], @@ -109,14 +100,12 @@ "state": "start", "data": [ [ "text", " " ], - [ "string", "\"en" ], - [ "string", "\"" ], + [ "string", "\"en\"" ], [ "text", " " ], [ "keyword", "(" ], [ "support.function", "str" ], [ "text", " " ], - [ "string", "\"Goodbye, " ], - [ "string", "\"" ], + [ "string", "\"Goodbye, \"" ], [ "text", " " ], [ "support.function", "name" ], [ "keyword", ")" ] @@ -126,14 +115,12 @@ "state": "start", "data": [ [ "text", " " ], - [ "string", "\"es" ], - [ "string", "\"" ], + [ "string", "\"es\"" ], [ "text", " " ], [ "keyword", "(" ], [ "support.function", "str" ], [ "text", " " ], - [ "string", "\"Adios, " ], - [ "string", "\"" ], + [ "string", "\"Adios, \"" ], [ "text", " " ], [ "support.function", "name" ], [ "keyword", ")" ] @@ -143,8 +130,7 @@ "state": "start", "data": [ [ "text", " " ], - [ "keyword", "(" ], - [ "keyword", "throw" ], + [ "keyword", "(throw" ], [ "text", " " ], [ "keyword", "(" ], [ "identifier", "IllegalArgumentException" ], @@ -158,16 +144,10 @@ [ "keyword", "(" ], [ "support.function", "str" ], [ "text", " " ], - [ "string", "\"unsupported language " ], - [ "string", "\"" ], + [ "string", "\"unsupported language \"" ], [ "text", " " ], [ "identifier", "language" ], - [ "keyword", ")" ], - [ "keyword", ")" ], - [ "keyword", ")" ], - [ "keyword", ")" ], - [ "keyword", ")" ], - [ "keyword", ")" ] + [ "keyword", "))))))" ] ] }, { @@ -182,8 +162,7 @@ [ "text", " " ], [ "keyword", "(" ], [ "identifier", "parting" ], - [ "keyword", ")" ], - [ "keyword", ")" ], + [ "keyword", "))" ], [ "text", " " ], [ "comment", "; -> Goodbye, World" ] ] @@ -197,10 +176,8 @@ [ "keyword", "(" ], [ "identifier", "parting" ], [ "text", " " ], - [ "string", "\"Mark" ], - [ "string", "\"" ], - [ "keyword", ")" ], - [ "keyword", ")" ], + [ "string", "\"Mark\"" ], + [ "keyword", "))" ], [ "text", " " ], [ "comment", "; -> Goodbye, Mark" ] ] @@ -214,13 +191,10 @@ [ "keyword", "(" ], [ "identifier", "parting" ], [ "text", " " ], - [ "string", "\"Mark" ], - [ "string", "\"" ], + [ "string", "\"Mark\"" ], [ "text", " " ], - [ "string", "\"es" ], - [ "string", "\"" ], - [ "keyword", ")" ], - [ "keyword", ")" ], + [ "string", "\"es\"" ], + [ "keyword", "))" ], [ "text", " " ], [ "comment", "; -> Adios, Mark" ] ] @@ -234,13 +208,10 @@ [ "keyword", "(" ], [ "identifier", "parting" ], [ "text", " " ], - [ "string", "\"Mark" ], - [ "string", "\"" ], + [ "string", "\"Mark\"" ], [ "text", ", " ], - [ "string", "\"xy" ], - [ "string", "\"" ], - [ "keyword", ")" ], - [ "keyword", ")" ], + [ "string", "\"xy\"" ], + [ "keyword", "))" ], [ "text", " " ], [ "comment", "; -> java.lang.IllegalArgumentException: unsupported language xy" ] ] diff --git a/lib/ace/mode/_test/tokens_coldfusion.json b/lib/ace/mode/_test/tokens_coldfusion.json index 2c2a602c..b2da2dd2 100644 --- a/lib/ace/mode/_test/tokens_coldfusion.json +++ b/lib/ace/mode/_test/tokens_coldfusion.json @@ -2,8 +2,7 @@ { "state": "start", "data": [ - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -19,7 +18,7 @@ [ "entity.other.attribute-name", "welcome" ], [ "keyword.operator", "=" ], [ "string", "\"Hello World!\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -31,11 +30,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "cfoutput" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "#welcome#" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_diff.json b/lib/ace/mode/_test/tokens_diff.json index fa28d05d..fe217e60 100644 --- a/lib/ace/mode/_test/tokens_diff.json +++ b/lib/ace/mode/_test/tokens_diff.json @@ -2,8 +2,7 @@ { "state": "start", "data": [ - [ "variable", "diff" ], - [ "variable", " --git" ], + [ "variable", "diff --git" ], [ "keyword", " a/lib/ace/edit_session.js" ], [ "variable", " b/lib/ace/edit_session.js" ] ] @@ -381,8 +380,7 @@ { "state": "start", "data": [ - [ "variable", "diff" ], - [ "variable", " --git" ], + [ "variable", "diff --git" ], [ "keyword", " a/lib/ace/editor.js" ], [ "variable", " b/lib/ace/editor.js" ] ] @@ -647,8 +645,7 @@ { "state": "start", "data": [ - [ "variable", "diff" ], - [ "variable", " --git" ], + [ "variable", "diff --git" ], [ "keyword", " a/lib/ace/search_highlight.js" ], [ "variable", " b/lib/ace/search_highlight.js" ] ] diff --git a/lib/ace/mode/_test/tokens_golang.json b/lib/ace/mode/_test/tokens_golang.json index edfb232a..3b3929ae 100644 --- a/lib/ace/mode/_test/tokens_golang.json +++ b/lib/ace/mode/_test/tokens_golang.json @@ -102,8 +102,7 @@ [ "identifier", "pi" ], [ "paren.lparen", "(" ], [ "constant.numeric", "5000" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -203,8 +202,7 @@ [ "identifier", "float64" ], [ "paren.lparen", "(" ], [ "identifier", "k" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -259,11 +257,9 @@ [ "text", " " ], [ "identifier", "f" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], - [ "keyword.operator", "<" ], - [ "keyword.operator", "-" ], + [ "keyword.operator", "<-" ], [ "identifier", "ch" ] ] }, @@ -321,8 +317,7 @@ [ "text", " " ], [ "identifier", "ch" ], [ "text", " " ], - [ "keyword.operator", "<" ], - [ "keyword.operator", "-" ], + [ "keyword.operator", "<-" ], [ "text", " " ], [ "constant.numeric", "4" ], [ "text", " " ], diff --git a/lib/ace/mode/_test/tokens_groovy.json b/lib/ace/mode/_test/tokens_groovy.json index 2c73f16b..8e967253 100644 --- a/lib/ace/mode/_test/tokens_groovy.json +++ b/lib/ace/mode/_test/tokens_groovy.json @@ -162,8 +162,7 @@ [ "identifier", "salary" ], [ "text", ":" ], [ "constant.numeric", "50" ], - [ "rparen", ")" ], - [ "rparen", "]" ] + [ "rparen", ")]" ] ] }, { @@ -195,8 +194,7 @@ [ "text", " " ], [ "identifier", "e" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "e" ], [ "text", "." ], @@ -279,8 +277,7 @@ [ "text", " " ], [ "identifier", "e" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "e" ], [ "text", "." ], @@ -350,8 +347,7 @@ [ "text", " " ], [ "identifier", "e" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "e" ], [ "text", "." ], @@ -398,8 +394,7 @@ [ "identifier", "emps" ], [ "lparen", "[" ], [ "constant.numeric", "0" ], - [ "rparen", "]" ], - [ "rparen", ")" ], + [ "rparen", "])" ], [ "text", " " ], [ "comment", "// true" ] ] @@ -457,8 +452,7 @@ [ "text", " " ], [ "identifier", "reader" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "doSomethingWith" ], [ "lparen", "(" ], diff --git a/lib/ace/mode/_test/tokens_haml.json b/lib/ace/mode/_test/tokens_haml.json index 78e4b858..fb4e69f6 100644 --- a/lib/ace/mode/_test/tokens_haml.json +++ b/lib/ace/mode/_test/tokens_haml.json @@ -218,8 +218,7 @@ "state": "start", "data": [ [ "entity.name.tag.haml", " %div" ], - [ "entity.other.attribute-name.class.haml", ".article" ], - [ "entity.other.attribute-name.class.haml", ".title" ], + [ "entity.other.attribute-name.class.haml", ".article.title" ], [ "text", " Blah" ] ] }, @@ -227,20 +226,16 @@ "state": "start", "data": [ [ "entity.name.tag.haml", " %div" ], - [ "entity.other.attribute-name.class.haml", ".article" ], - [ "entity.other.attribute-name.class.haml", ".date" ], + [ "entity.other.attribute-name.class.haml", ".article.date" ], [ "text", " " ], - [ "constant.numeric", "2006" ], - [ "constant.numeric", "-11" ], - [ "constant.numeric", "-05" ] + [ "constant.numeric", "2006-11-05" ] ] }, { "state": "start", "data": [ [ "entity.name.tag.haml", " %div" ], - [ "entity.other.attribute-name.class.haml", ".article" ], - [ "entity.other.attribute-name.class.haml", ".entry" ] + [ "entity.other.attribute-name.class.haml", ".article.entry" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_html.json b/lib/ace/mode/_test/tokens_html.json index 9b031aaf..d2b57638 100644 --- a/lib/ace/mode/_test/tokens_html.json +++ b/lib/ace/mode/_test/tokens_html.json @@ -4,7 +4,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "html" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -13,7 +13,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "head" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -30,7 +30,7 @@ [ "entity.other.attribute-name", "type" ], [ "keyword.operator", "=" ], [ "string", "\"text/css\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -88,7 +88,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -101,7 +101,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -110,7 +110,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "body" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -123,11 +123,11 @@ [ "entity.other.attribute-name", "style" ], [ "keyword.operator", "=" ], [ "string", "\"color:red\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Juhu Kinners" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -136,7 +136,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -144,7 +144,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_javascript.json b/lib/ace/mode/_test/tokens_javascript.json index 12057d81..1d04f26b 100644 --- a/lib/ace/mode/_test/tokens_javascript.json +++ b/lib/ace/mode/_test/tokens_javascript.json @@ -107,8 +107,7 @@ [ "keyword.operator", "=" ], [ "text", " " ], [ "string.regexp", "/d" ], - [ "constant.language.escape", "{1,2}" ], - [ "constant.language.escape", "?" ], + [ "constant.language.escape", "{1,2}?" ], [ "string.regexp", "f{e}" ], [ "invalid", "++" ], [ "string.regexp", "r" ], @@ -120,12 +119,10 @@ [ "string.regexp.charachterclass", "r" ], [ "constant.language.escape", "-" ], [ "string.regexp.charachterclass", "o" ], - [ "regexp.keyword.operator", "\\f" ], - [ "regexp.keyword.operator", "\\f" ], + [ "regexp.keyword.operator", "\\f\\f" ], [ "string.regexp.charachterclass", "[" ], [ "regexp.keyword.operator", "\\f" ], - [ "constant.language.escape", "]" ], - [ "constant.language.escape", "?" ], + [ "constant.language.escape", "]?" ], [ "string.regexp", "r" ], [ "invalid", "{7}+" ], [ "string.regexp", "r" ], @@ -133,21 +130,15 @@ [ "string.regexp", "7}" ], [ "constant.language.escape", "+" ], [ "string.regexp", "rr--rr" ], - [ "constant.language.escape", "$" ], - [ "constant.language.escape", "^" ], - [ "constant.language.escape", "(?:" ], + [ "constant.language.escape", "$^(?:" ], [ "string.regexp", "d" ], [ "constant.language.escape", "|" ], [ "string.regexp", "s" ], - [ "constant.language.escape", ")" ], - [ "constant.language.escape", "(?=" ], + [ "constant.language.escape", ")(?=" ], [ "string.regexp", "a" ], - [ "constant.language.escape", "|" ], - [ "constant.language.escape", ")" ], - [ "constant.language.escape", "(?!" ], + [ "constant.language.escape", "|)(?!" ], [ "string.regexp", "y" ], - [ "constant.language.escape", ")[]" ], - [ "constant.language.escape", "|" ], + [ "constant.language.escape", ")[]|" ], [ "invalid", "$?" ], [ "constant.language.escape", "|" ], [ "invalid", "^*" ], diff --git a/lib/ace/mode/_test/tokens_jsp.json b/lib/ace/mode/_test/tokens_jsp.json index 4f5e9e46..f1ce8e00 100644 --- a/lib/ace/mode/_test/tokens_jsp.json +++ b/lib/ace/mode/_test/tokens_jsp.json @@ -4,7 +4,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "html" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -12,7 +12,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "body" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -21,7 +21,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.script", "script" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -62,7 +62,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -71,7 +71,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.style", "style" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -106,7 +106,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -119,7 +119,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -138,8 +138,7 @@ [ "text", "." ], [ "identifier", "Date" ], [ "lparen", "(" ], - [ "rparen", ")" ], - [ "rparen", ")" ], + [ "rparen", "))" ], [ "text", "." ], [ "identifier", "toLocaleString" ], [ "lparen", "(" ], @@ -153,7 +152,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -210,8 +209,7 @@ "state": "start", "data": [ [ "text", " " ], - [ "comment", "<%--" ], - [ "comment", " This is JSP comment --%>" ] + [ "comment", "<%-- This is JSP comment --%>" ] ] }, { @@ -239,11 +237,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Select Languages:" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -260,7 +258,7 @@ [ "entity.other.attribute-name", "ACTION" ], [ "keyword.operator", "=" ], [ "string", "\"jspCheckBox.jsp\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -281,11 +279,11 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\"Java\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " Java" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "BR" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -306,11 +304,11 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\".NET\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " .NET" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "BR" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -331,11 +329,11 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\"PHP\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " PHP" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "BR" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -356,11 +354,11 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\"C/C++\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " C/C++" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "BR" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -381,11 +379,11 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\"PERL\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " PERL " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "BR" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -402,7 +400,7 @@ [ "entity.other.attribute-name", "value" ], [ "keyword.operator", "=" ], [ "string", "\"Submit\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -411,7 +409,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -455,20 +453,17 @@ [ "lparen", "(" ], [ "identifier", "select" ], [ "text", " " ], - [ "keyword.operator", "!" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "!=" ], [ "text", " " ], [ "constant.language", "null" ], [ "text", " " ], - [ "keyword.operator", "&" ], - [ "keyword.operator", "&" ], + [ "keyword.operator", "&&" ], [ "text", " " ], [ "identifier", "select" ], [ "text", "." ], [ "identifier", "length" ], [ "text", " " ], - [ "keyword.operator", "!" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "!=" ], [ "text", " " ], [ "constant.numeric", "0" ], [ "rparen", ")" ], @@ -530,8 +525,7 @@ [ "identifier", "select" ], [ "lparen", "[" ], [ "identifier", "i" ], - [ "rparen", "]" ], - [ "rparen", ")" ], + [ "rparen", "])" ], [ "text", "; " ] ] }, @@ -561,7 +555,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -569,7 +563,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_latex.json b/lib/ace/mode/_test/tokens_latex.json index 0abe75ed..8d5fee7c 100644 --- a/lib/ace/mode/_test/tokens_latex.json +++ b/lib/ace/mode/_test/tokens_latex.json @@ -169,9 +169,7 @@ [ "rparen", "}" ], [ "lparen", "{" ], [ "text", "c^2" ], - [ "rparen", "}" ], - [ "rparen", "}" ], - [ "rparen", "}" ] + [ "rparen", "}}}" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_less.json b/lib/ace/mode/_test/tokens_less.json index 5a9f91b6..63984de5 100644 --- a/lib/ace/mode/_test/tokens_less.json +++ b/lib/ace/mode/_test/tokens_less.json @@ -2,8 +2,7 @@ { "state": "start", "data": [ - [ "comment", "/*" ], - [ "comment", " styles.less */" ] + [ "comment", "/* styles.less */" ] ] }, { @@ -39,8 +38,7 @@ [ "support.function", "iscolor" ], [ "paren.lparen", "(" ], [ "variable", "@c" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "text", " " ], [ "paren.lparen", "{" ] ] @@ -99,8 +97,7 @@ [ "support.function", "isnumber" ], [ "paren.lparen", "(" ], [ "variable", "@alpha" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "text", " " ], [ "paren.lparen", "{" ] ] @@ -122,8 +119,7 @@ [ "constant.numeric", "0" ], [ "text", ", " ], [ "variable", "@alpha" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "text", ";" ] ] }, diff --git a/lib/ace/mode/_test/tokens_liquid.json b/lib/ace/mode/_test/tokens_liquid.json index 73c37daa..f519d6d9 100644 --- a/lib/ace/mode/_test/tokens_liquid.json +++ b/lib/ace/mode/_test/tokens_liquid.json @@ -89,7 +89,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"products\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -115,7 +115,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "li" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -124,7 +124,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "variable", "{{" ], [ "text", " " ], [ "identifier", "product" ], @@ -134,7 +134,7 @@ [ "variable", "}}" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -153,7 +153,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "variable", "{{" ], [ "text", " " ], [ "identifier", "product" ], @@ -169,7 +169,7 @@ [ "variable", "}}" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -182,7 +182,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -202,7 +202,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -228,11 +228,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Filters" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -240,11 +240,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", " The word \"tobi\" in uppercase: {{ 'tobi' | upcase }} " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -252,11 +252,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "The word \"tobi\" has {{ 'tobi' | size }} letters! " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -264,11 +264,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Change \"Hello world\" to \"Hi world\": {{ 'Hello world' | replace: 'Hello', 'Hi' }} " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -276,11 +276,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "The date today is {{ 'now' | date: \"%Y %b %d\" }} " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -296,11 +296,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "If" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -308,7 +308,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -323,8 +323,7 @@ [ "text", "." ], [ "identifier", "name" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "==" ], [ "text", " " ], [ "string", "'tobi'" ], [ "text", " " ], @@ -334,8 +333,7 @@ [ "text", "." ], [ "identifier", "name" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "==" ], [ "text", " " ], [ "string", "'marc'" ], [ "text", " " ], @@ -365,7 +363,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -381,11 +379,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Case" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -393,7 +391,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -495,7 +493,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -511,11 +509,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "For Loops" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -523,7 +521,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -571,7 +569,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -587,11 +585,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Tables" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -599,7 +597,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -688,7 +686,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_lua.json b/lib/ace/mode/_test/tokens_lua.json index f249f658..95ddb113 100644 --- a/lib/ace/mode/_test/tokens_lua.json +++ b/lib/ace/mode/_test/tokens_lua.json @@ -20,8 +20,7 @@ { "state": "start", "data": [ - [ "comment", "--]]" ], - [ "comment", "--" ] + [ "comment", "--]]--" ] ] }, { @@ -138,8 +137,7 @@ [ "support.function", "sub" ], [ "paren.lparen", "(" ], [ "constant.numeric", "13" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "text", ", " ], [ "identifier", "offset" ], [ "text", " " ], @@ -283,8 +281,7 @@ [ "identifier", "other" ], [ "paren.rparen", ")" ], [ "text", " " ], - [ "keyword.operator", "~" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "~=" ], [ "text", " " ], [ "string", "\"table\"" ], [ "text", " " ], @@ -348,8 +345,7 @@ [ "support.function", "unpack" ], [ "paren.lparen", "(" ], [ "identifier", "other" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -387,9 +383,7 @@ [ "identifier", "num_args" ], [ "paren.lparen", "(" ], [ "identifier", "int" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", "}" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", ")})" ] ] }, { @@ -411,8 +405,7 @@ { "state": "start", "data": [ - [ "comment", "--]=]" ], - [ "comment", "--" ] + [ "comment", "--]=]--" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_luapage.json b/lib/ace/mode/_test/tokens_luapage.json index a6395ef0..e044e7ad 100644 --- a/lib/ace/mode/_test/tokens_luapage.json +++ b/lib/ace/mode/_test/tokens_luapage.json @@ -19,7 +19,7 @@ "data": [ [ "text", " " ], [ "string", "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -27,7 +27,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "html" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -63,7 +63,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "head" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -72,11 +72,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "title" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Reference" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -92,25 +92,27 @@ [ "text", " " ], [ "entity.other.attribute-name", "href" ], [ "keyword.operator", "=" ], - [ "string", "\"<%=luadoc.doclet.html.link(\"" ], - [ "entity.other.attribute-name", "luadoc" ], + [ "string", "\"" ], + [ "keyword", "<%=" ], + [ "identifier", "luadoc" ], [ "text", "." ], - [ "entity.other.attribute-name", "css" ], - [ "string", "\")%>\"" ], - [ "text", " " ], - [ "entity.other.attribute-name", "type" ], - [ "keyword.operator", "=" ], - [ "string", "\"text/css\"" ], - [ "text", " " ], - [ "meta.tag", "/>" ] + [ "identifier", "doclet" ], + [ "text", "." ], + [ "identifier", "html" ], + [ "text", "." ], + [ "identifier", "link" ], + [ "paren.lparen", "(" ], + [ "string", "\"luadoc.css\"" ], + [ "paren.rparen", ")" ], + [ "keyword", "%>" ], + [ "text", "\" type=\"text/css\" />" ] ] }, { "state": "start", "data": [ [ "text", "\t" ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -118,7 +120,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -130,7 +132,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "body" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -142,7 +144,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"container\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -158,7 +160,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"product\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -171,10 +173,10 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"product_logo\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -187,22 +189,22 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"product_name\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "big" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "b" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -215,10 +217,10 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"product_description\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -226,10 +228,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -245,7 +246,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"main\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -261,7 +262,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"navigation\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -284,8 +285,7 @@ [ "keyword.operator", "=" ], [ "identifier", "doc" ], [ "text", " " ], - [ "paren.rparen", "}" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "})" ], [ "keyword", "%>" ] ] }, @@ -298,10 +298,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -317,7 +316,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"content\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -331,8 +330,7 @@ { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "if" ], + [ "keyword", "<%if" ], [ "text", " " ], [ "keyword", "not" ], [ "text", " " ], @@ -351,8 +349,7 @@ [ "text", " " ], [ "constant.numeric", "0" ], [ "text", " " ], - [ "keyword", "then" ], - [ "keyword", "%>" ] + [ "keyword", "then%>" ] ] }, { @@ -360,11 +357,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Modules" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -376,21 +373,19 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"module_list\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "comment", "" ] + [ "comment", "" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "for" ], + [ "keyword", "<%for" ], [ "text", " " ], [ "identifier", "_" ], [ "text", ", " ], @@ -405,8 +400,7 @@ [ "identifier", "modules" ], [ "paren.rparen", ")" ], [ "text", " " ], - [ "keyword", "do" ], - [ "keyword", "%>" ] + [ "keyword", "do%>" ] ] }, { @@ -415,7 +409,7 @@ [ "text", "\t" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.table", "tr" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -428,23 +422,37 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"name\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.anchor", "a" ], [ "text", " " ], [ "entity.other.attribute-name", "href" ], [ "keyword.operator", "=" ], - [ "string", "\"<%=luadoc.doclet.html.module_link(modulename, doc)%>\"" ], - [ "meta.tag", ">" ], + [ "string", "\"" ], + [ "keyword", "<%=" ], + [ "identifier", "luadoc" ], + [ "text", "." ], + [ "identifier", "doclet" ], + [ "text", "." ], + [ "identifier", "html" ], + [ "text", "." ], + [ "identifier", "module_link" ], + [ "paren.lparen", "(" ], + [ "identifier", "modulename" ], + [ "text", ", " ], + [ "identifier", "doc" ], + [ "paren.rparen", ")" ], + [ "keyword", "%>" ], + [ "text", "\">" ], [ "keyword", "<%=" ], [ "identifier", "modulename" ], [ "keyword", "%>" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -457,7 +465,7 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"summary\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "keyword", "<%=" ], [ "identifier", "doc" ], [ "text", "." ], @@ -470,7 +478,7 @@ [ "keyword", "%>" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -479,15 +487,13 @@ [ "text", "\t" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "end" ], - [ "keyword", "%>" ] + [ "keyword", "<%end%>" ] ] }, { @@ -495,15 +501,13 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "end" ], - [ "keyword", "%>" ] + [ "keyword", "<%end%>" ] ] }, { @@ -521,8 +525,7 @@ { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "if" ], + [ "keyword", "<%if" ], [ "text", " " ], [ "keyword", "not" ], [ "text", " " ], @@ -541,8 +544,7 @@ [ "text", " " ], [ "constant.numeric", "0" ], [ "text", " " ], - [ "keyword", "then" ], - [ "keyword", "%>" ] + [ "keyword", "then%>" ] ] }, { @@ -550,11 +552,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "h2" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Files" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -566,21 +568,19 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"file_list\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "comment", "" ] + [ "comment", "" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "for" ], + [ "keyword", "<%for" ], [ "text", " " ], [ "identifier", "_" ], [ "text", ", " ], @@ -595,8 +595,7 @@ [ "identifier", "files" ], [ "paren.rparen", ")" ], [ "text", " " ], - [ "keyword", "do" ], - [ "keyword", "%>" ] + [ "keyword", "do%>" ] ] }, { @@ -605,7 +604,7 @@ [ "text", "\t" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.table", "tr" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -618,23 +617,35 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"name\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.anchor", "a" ], [ "text", " " ], [ "entity.other.attribute-name", "href" ], [ "keyword.operator", "=" ], - [ "string", "\"<%=luadoc.doclet.html.file_link(filepath)%>\"" ], - [ "meta.tag", ">" ], + [ "string", "\"" ], + [ "keyword", "<%=" ], + [ "identifier", "luadoc" ], + [ "text", "." ], + [ "identifier", "doclet" ], + [ "text", "." ], + [ "identifier", "html" ], + [ "text", "." ], + [ "identifier", "file_link" ], + [ "paren.lparen", "(" ], + [ "identifier", "filepath" ], + [ "paren.rparen", ")" ], + [ "keyword", "%>" ], + [ "text", "\">" ], [ "keyword", "<%=" ], [ "identifier", "filepath" ], [ "keyword", "%>" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -647,10 +658,10 @@ [ "entity.other.attribute-name", "class" ], [ "keyword.operator", "=" ], [ "string", "\"summary\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -659,15 +670,13 @@ [ "text", "\t" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "end" ], - [ "keyword", "%>" ] + [ "keyword", "<%end%>" ] ] }, { @@ -675,15 +684,13 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { "state": "start", "data": [ - [ "keyword", "<%" ], - [ "keyword", "end" ], - [ "keyword", "%>" ] + [ "keyword", "<%end%>" ] ] }, { @@ -695,10 +702,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -710,10 +716,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -729,7 +734,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"about\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -738,14 +743,14 @@ [ "text", "\t" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.anchor", "a" ], [ "text", " " ], [ "entity.other.attribute-name", "href" ], [ "keyword.operator", "=" ], [ "string", "\"http://validator.w3.org/check?uri=referer\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.image", "img" ], [ "text", " " ], @@ -765,13 +770,13 @@ [ "keyword.operator", "=" ], [ "string", "\"88\"" ], [ "text", " " ], - [ "meta.tag", "/>" ], + [ "meta.tag.r", "/>" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -779,10 +784,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ] + [ "comment", "" ] ] }, { @@ -794,10 +798,9 @@ "data": [ [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ], - [ "comment", "" ], + [ "comment", "" ], [ "text", "\t" ] ] }, @@ -806,7 +809,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -814,7 +817,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_markdown.json b/lib/ace/mode/_test/tokens_markdown.json index 02e22c00..2ef5e907 100644 --- a/lib/ace/mode/_test/tokens_markdown.json +++ b/lib/ace/mode/_test/tokens_markdown.json @@ -48,8 +48,7 @@ { "state": "listblock", "data": [ - [ "markup.list", "* " ], - [ "markup.list", "Syntax highlighting" ] + [ "markup.list", "* Syntax highlighting" ] ] }, { @@ -288,17 +287,13 @@ "state": "start", "data": [ [ "text", "Ace can be easily embedded into any existing web page. The Ace git repository ships with a pre-packaged version of Ace inside of the " ], - [ "support.function", "`" ], - [ "support.function", "build" ], - [ "support.function", "`" ], + [ "support.function", "`build`" ], [ "text", " directory. The same packaged files are also available as a separate [" ], [ "string", "download" ], [ "text", "](" ], [ "markup.underline", "https://github.com/ajaxorg/ace/downloads" ], [ "text", "). Simply copy the contents of the " ], - [ "support.function", "`" ], - [ "support.function", "src" ], - [ "support.function", "`" ], + [ "support.function", "`src`" ], [ "text", " subdirectory somewhere into your project and take a look at the included demos of how to use Ace." ] ] }, @@ -332,11 +327,11 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"editor\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "some text" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -357,10 +352,10 @@ [ "entity.other.attribute-name", "charset" ], [ "keyword.operator", "=" ], [ "string", "\"utf-8\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -369,7 +364,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name.script", "script" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -422,7 +417,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -439,13 +434,9 @@ "state": "start", "data": [ [ "text", "With \"editor\" being the id of the DOM element, which should be converted to an editor. Note that this element must be explicitly sized and positioned " ], - [ "support.function", "`" ], - [ "support.function", "absolute" ], - [ "support.function", "`" ], + [ "support.function", "`absolute`" ], [ "text", " or " ], - [ "support.function", "`" ], - [ "support.function", "relative" ], - [ "support.function", "`" ], + [ "support.function", "`relative`" ], [ "text", " for Ace to work. e.g." ] ] }, @@ -551,10 +542,10 @@ [ "entity.other.attribute-name", "charset" ], [ "keyword.operator", "=" ], [ "string", "\"utf-8\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -640,10 +631,10 @@ [ "entity.other.attribute-name", "charset" ], [ "keyword.operator", "=" ], [ "string", "\"utf-8\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -707,8 +698,7 @@ [ "text", " " ], [ "identifier", "JavaScriptMode" ], [ "paren.lparen", "(" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "punctuation.operator", ";" ] ] }, @@ -1131,8 +1121,7 @@ { "state": "listblock", "data": [ - [ "markup.list", "1. " ], - [ "markup.list", "[The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting." ] + [ "markup.list", "1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting." ] ] }, { diff --git a/lib/ace/mode/_test/tokens_objectivec.json b/lib/ace/mode/_test/tokens_objectivec.json index aafd5868..d2a77f3d 100644 --- a/lib/ace/mode/_test/tokens_objectivec.json +++ b/lib/ace/mode/_test/tokens_objectivec.json @@ -104,8 +104,7 @@ [ "string.begin.objc", "@\"" ], [ "constant.character.escape.objc", "\\f" ], [ "string", "aw" ], - [ "constant.character.escape.objc", "\\\"" ], - [ "constant.character.escape.objc", "\\?" ], + [ "constant.character.escape.objc", "\\\"\\?" ], [ "string", " " ], [ "constant.character.escape.objc", "\\'" ], [ "string", " " ], @@ -344,8 +343,7 @@ [ "text", " " ], [ "identifier", "result" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], [ "constant.numeric", "2" ], [ "text", " " ], @@ -579,8 +577,7 @@ [ "identifier", "ProtocolFromString" ], [ "punctuation.operator", ":" ], [ "string", "\"NSTableViewDelegate\"" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -710,14 +707,12 @@ { "state": "start", "data": [ - [ "punctuation.definition.storage.type.objc", "@" ], - [ "punctuation.definition.storage.type.objc", "selector" ], + [ "punctuation.definition.storage.type.objc", "@selector" ], [ "punctuation", "(" ], [ "support.function.any-method.name-of-parameter.objc", "lowercaseString" ], [ "punctuation", ")" ], [ "text", " " ], - [ "punctuation.definition.storage.type.objc", "@" ], - [ "punctuation.definition.storage.type.objc", "selector" ], + [ "punctuation.definition.storage.type.objc", "@selector" ], [ "punctuation", "(" ], [ "support.function.any-method.name-of-parameter.objc", "uppercaseString:" ], [ "punctuation", ")" ] @@ -737,8 +732,7 @@ [ "text", " " ], [ "keyword.operator", "=" ], [ "text", " " ], - [ "punctuation.section.scope.begin.objc", "[" ], - [ "punctuation.section.scope.begin.objc", "[" ], + [ "punctuation.section.scope.begin.objc", "[[" ], [ "identifier", "NSFetchRequest" ], [ "text", " " ], [ "support.function.any-method.objc", "alloc" ], @@ -799,8 +793,7 @@ [ "identifier", "ascending" ], [ "punctuation.operator", ":" ], [ "constant.language.objc", "YES" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "]" ], + [ "paren.rparen", "]]" ], [ "punctuation.operator", ";" ], [ "text", " " ] ] @@ -889,8 +882,7 @@ [ "text", " " ], [ "keyword.operator", "=" ], [ "text", " " ], - [ "punctuation.section.scope.begin.objc", "[" ], - [ "punctuation.section.scope.begin.objc", "[" ], + [ "punctuation.section.scope.begin.objc", "[[" ], [ "identifier", "myMutableDictionary" ], [ "text", " " ], [ "support.function.any-method.objc", "allKeys" ], @@ -998,8 +990,7 @@ "data": [ [ "keyword", "#define" ], [ "constant.other", " Nil __DARWIN_NULL " ], - [ "comment", "/*" ], - [ "comment", " id of Nil class */" ] + [ "comment", "/* id of Nil class */" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_ocaml.json b/lib/ace/mode/_test/tokens_ocaml.json index fa5055c4..5985f5ea 100644 --- a/lib/ace/mode/_test/tokens_ocaml.json +++ b/lib/ace/mode/_test/tokens_ocaml.json @@ -45,8 +45,7 @@ [ "text", " : " ], [ "identifier", "_" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "t" ], [ "paren.rparen", ")" ], @@ -112,8 +111,7 @@ [ "text", " " ], [ "identifier", "x" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "support.function", "raise" ], [ "text", " " ], @@ -123,8 +121,7 @@ [ "identifier", "Return" ], [ "text", " " ], [ "identifier", "x" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "))" ], [ "text", "; " ], [ "paren.rparen", "}" ], [ "text", " " ], @@ -149,8 +146,7 @@ [ "text", " " ], [ "identifier", "x" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ], + [ "keyword.operator", "->" ], [ "text", " " ], [ "identifier", "x" ] ] @@ -192,8 +188,7 @@ [ "text", " " ], [ "identifier", "r" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "->" ] ] }, { @@ -221,8 +216,7 @@ [ "text", " " ], [ "identifier", "x" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "->" ] ] }, { @@ -233,8 +227,7 @@ [ "text", " " ], [ "identifier", "x" ], [ "text", " " ], - [ "keyword.operator", ">" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", ">=" ], [ "text", " " ], [ "constant.numeric", "0" ], [ "text", " " ], @@ -253,8 +246,7 @@ [ "identifier", "return" ], [ "text", " " ], [ "identifier", "acc" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_perl.json b/lib/ace/mode/_test/tokens_perl.json index fb33da27..4eca7629 100644 --- a/lib/ace/mode/_test/tokens_perl.json +++ b/lib/ace/mode/_test/tokens_perl.json @@ -130,8 +130,7 @@ [ "lparen", "(" ], [ "identifier", "$num_primes" ], [ "constant.numeric", "-1" ], - [ "rparen", ")" ], - [ "rparen", ")" ] + [ "rparen", "))" ] ] }, { @@ -263,8 +262,7 @@ [ "lparen", "(" ], [ "identifier", "$num_primes" ], [ "constant.numeric", "-1" ], - [ "rparen", ")" ], - [ "rparen", ")" ] + [ "rparen", "))" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_pgsql.json b/lib/ace/mode/_test/tokens_pgsql.json index 6e663093..6f3c8a16 100644 --- a/lib/ace/mode/_test/tokens_pgsql.json +++ b/lib/ace/mode/_test/tokens_pgsql.json @@ -932,11 +932,9 @@ "data": [ [ "keyword.statementBegin", "select" ], [ "text", " " ], - [ "string", "'don'" ], - [ "string", "'t do it now;'" ], + [ "string", "'don''t do it now;'" ], [ "text", " " ], - [ "keyword.operator", "|" ], - [ "keyword.operator", "|" ], + [ "keyword.operator", "||" ], [ "text", " " ], [ "string", "'maybe later'" ], [ "statementEnd", ";" ] @@ -959,14 +957,11 @@ [ "text", " " ], [ "support.function", "length" ], [ "paren.lparen", "(" ], - [ "string", "'some other'" ], - [ "string", "'s stuff'" ], + [ "string", "'some other''s stuff'" ], [ "text", " " ], - [ "keyword.operator", "|" ], - [ "keyword.operator", "|" ], + [ "keyword.operator", "||" ], [ "text", " " ], - [ "string", "$$" ], - [ "string", "cat in hat's stuff $$" ], + [ "string", "$$cat in hat's stuff $$" ], [ "paren.rparen", ")" ], [ "statementEnd", ";" ] ] diff --git a/lib/ace/mode/_test/tokens_php.json b/lib/ace/mode/_test/tokens_php.json index 4af87375..39f26df3 100644 --- a/lib/ace/mode/_test/tokens_php.json +++ b/lib/ace/mode/_test/tokens_php.json @@ -109,41 +109,8 @@ [ "support.function", "echo" ], [ "text", " " ], [ "string", "\"" ], - [ "constant.language.escape", "\\n" ], - [ "constant.language.escape", "\\n" ], - [ "string", "P" ], - [ "string", "l" ], - [ "string", "e" ], - [ "string", "a" ], - [ "string", "s" ], - [ "string", "e" ], - [ "string", " " ], - [ "string", "e" ], - [ "string", "n" ], - [ "string", "t" ], - [ "string", "e" ], - [ "string", "r" ], - [ "string", " " ], - [ "string", "a" ], - [ "string", " " ], - [ "string", "w" ], - [ "string", "h" ], - [ "string", "o" ], - [ "string", "l" ], - [ "string", "e" ], - [ "string", " " ], - [ "string", "n" ], - [ "string", "u" ], - [ "string", "m" ], - [ "string", "b" ], - [ "string", "e" ], - [ "string", "r" ], - [ "string", " " ], - [ "string", "." ], - [ "string", "." ], - [ "string", "." ], - [ "string", " " ], - [ "string", "\"" ], + [ "constant.language.escape", "\\n\\n" ], + [ "string", "Please enter a whole number ... \"" ], [ "text", ";" ] ] }, @@ -159,8 +126,7 @@ [ "support.function", "fgets" ], [ "lparen", "(" ], [ "constant.language", "STDIN" ], - [ "rparen", ")" ], - [ "rparen", ")" ], + [ "rparen", "))" ], [ "text", ";" ] ] }, @@ -182,27 +148,12 @@ [ "keyword.operator", "=" ], [ "text", " " ], [ "string", "\"" ], - [ "constant.language.escape", "\\n" ], - [ "constant.language.escape", "\\n" ], - [ "string", "F" ], - [ "string", "a" ], - [ "string", "c" ], - [ "string", "t" ], - [ "string", "o" ], - [ "string", "r" ], - [ "string", "i" ], - [ "string", "a" ], - [ "string", "l" ], - [ "string", " " ], - [ "string", "\"" ], + [ "constant.language.escape", "\\n\\n" ], + [ "string", "Factorial \"" ], [ "text", " . " ], [ "variable", "$num" ], [ "text", " . " ], - [ "string", "\"" ], - [ "string", " " ], - [ "string", "=" ], - [ "string", " " ], - [ "string", "\"" ], + [ "string", "\" = \"" ], [ "text", " . " ], [ "identifier", "nfact" ], [ "lparen", "(" ], @@ -210,8 +161,7 @@ [ "rparen", ")" ], [ "text", " . " ], [ "string", "\"" ], - [ "constant.language.escape", "\\n" ], - [ "constant.language.escape", "\\n" ], + [ "constant.language.escape", "\\n\\n" ], [ "string", "\"" ], [ "text", ";" ] ] diff --git a/lib/ace/mode/_test/tokens_powershell.json b/lib/ace/mode/_test/tokens_powershell.json index d2fa444e..f3406603 100644 --- a/lib/ace/mode/_test/tokens_powershell.json +++ b/lib/ace/mode/_test/tokens_powershell.json @@ -173,8 +173,7 @@ "data": [ [ "variable.instance", "$number" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], [ "constant.numeric", "3" ] ] diff --git a/lib/ace/mode/_test/tokens_python.json b/lib/ace/mode/_test/tokens_python.json index 5936fce2..4d67cc4b 100644 --- a/lib/ace/mode/_test/tokens_python.json +++ b/lib/ace/mode/_test/tokens_python.json @@ -122,8 +122,7 @@ [ "identifier", "atoi" ], [ "paren.lparen", "(" ], [ "identifier", "i" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -198,8 +197,7 @@ [ "identifier", "celsius" ], [ "keyword.operator", "+" ], [ "constant.numeric", ".5" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_r.json b/lib/ace/mode/_test/tokens_r.json index c0c784e3..4b999558 100644 --- a/lib/ace/mode/_test/tokens_r.json +++ b/lib/ace/mode/_test/tokens_r.json @@ -101,8 +101,7 @@ [ "text", " " ], [ "identifier", "Pr" ], [ "paren.keyword.operator", "(" ], - [ "keyword.operator", ">" ], - [ "keyword.operator", "|" ], + [ "keyword.operator", ">|" ], [ "identifier", "t" ], [ "keyword.operator", "|" ], [ "paren.keyword.operator", ")" ] @@ -141,17 +140,13 @@ [ "text", " " ], [ "constant.numeric", "0.000662" ], [ "text", " " ], - [ "keyword.operator", "*" ], - [ "keyword.operator", "*" ], - [ "keyword.operator", "*" ] + [ "keyword.operator", "***" ] ] }, { "state": "start", "data": [ - [ "keyword.operator", "-" ], - [ "keyword.operator", "-" ], - [ "keyword.operator", "-" ] + [ "keyword.operator", "---" ] ] }, { @@ -164,14 +159,11 @@ [ "text", " " ], [ "constant.numeric", "0" ], [ "text", " ‘" ], - [ "keyword.operator", "*" ], - [ "keyword.operator", "*" ], - [ "keyword.operator", "*" ], + [ "keyword.operator", "***" ], [ "text", "’ " ], [ "constant.numeric", "0.001" ], [ "text", " ‘" ], - [ "keyword.operator", "*" ], - [ "keyword.operator", "*" ], + [ "keyword.operator", "**" ], [ "text", "’ " ], [ "constant.numeric", "0.01" ], [ "text", " ‘" ], @@ -283,8 +275,7 @@ [ "constant.numeric", "2" ], [ "text", ", " ], [ "constant.numeric", "2" ], - [ "paren.keyword.operator", ")" ], - [ "paren.keyword.operator", ")" ], + [ "paren.keyword.operator", "))" ], [ "text", " " ], [ "comment", "# Request 2x2 plot layout" ] ] diff --git a/lib/ace/mode/_test/tokens_rdoc.json b/lib/ace/mode/_test/tokens_rdoc.json index 41545f26..7e501d65 100644 --- a/lib/ace/mode/_test/tokens_rdoc.json +++ b/lib/ace/mode/_test/tokens_rdoc.json @@ -62,19 +62,13 @@ [ "nospell.text", "picker" ], [ "paren.keyword.operator", "(" ], [ "text", "...," ], - [ "nospell.text", " " ], - [ "nospell.text", "initial" ], - [ "nospell.text", " " ], + [ "nospell.text", " initial " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "NULL" ], + [ "nospell.text", " NULL" ], [ "text", "," ], - [ "nospell.text", " " ], - [ "nospell.text", "label" ], - [ "nospell.text", " " ], + [ "nospell.text", " label " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "NULL" ], + [ "nospell.text", " NULL" ], [ "paren.keyword.operator", ")" ] ] }, @@ -106,8 +100,7 @@ [ "keyword", "\\item" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\dots" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ] + [ "paren.keyword.operator", "}{" ] ] }, { @@ -125,8 +118,7 @@ [ "nospell.text", "as" ], [ "text", "." ], [ "nospell.text", "character" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}}" ], [ "text", ". " ] ] }, @@ -143,8 +135,7 @@ [ "keyword", "\\item" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "initial" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ] + [ "paren.keyword.operator", "}{" ] ] }, { @@ -166,8 +157,7 @@ [ "keyword", "\\item" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "label" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ] + [ "paren.keyword.operator", "}{" ] ] }, { @@ -208,8 +198,7 @@ [ "keyword", "\\link" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "manipulate" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}}" ], [ "text", " function." ] ] }, @@ -238,32 +227,28 @@ [ "keyword", "\\link" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "manipulate" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}}" ], [ "text", ", " ], [ "keyword", "\\code" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\link" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "slider" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}}" ], [ "text", ", " ], [ "keyword", "\\code" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\link" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "checkbox" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}}" ], [ "text", ", " ], [ "keyword", "\\code" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\link" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "button" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "}" ] + [ "paren.keyword.operator", "}}" ] ] }, { @@ -302,16 +287,7 @@ "state": "nospell", "data": [ [ "text", "##" ], - [ "nospell.text", " " ], - [ "nospell.text", "Filtering" ], - [ "nospell.text", " " ], - [ "nospell.text", "data" ], - [ "nospell.text", " " ], - [ "nospell.text", "with" ], - [ "nospell.text", " " ], - [ "nospell.text", "a" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ] + [ "nospell.text", " Filtering data with a picker" ] ] }, { @@ -324,8 +300,7 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "barplot" ], + [ "nospell.text", " barplot" ], [ "paren.keyword.operator", "(" ], [ "nospell.text", "as" ], [ "text", "." ], @@ -335,8 +310,7 @@ [ "paren.keyword.operator", "[" ], [ "text", "," ], [ "nospell.text", "factor" ], - [ "paren.keyword.operator", "]" ], - [ "paren.keyword.operator", ")" ], + [ "paren.keyword.operator", "])" ], [ "text", "," ], [ "nospell.text", " " ] ] @@ -344,19 +318,13 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "beside" ], - [ "nospell.text", " " ], + [ "nospell.text", " beside " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "TRUE" ], + [ "nospell.text", " TRUE" ], [ "text", "," ], - [ "nospell.text", " " ], - [ "nospell.text", "main" ], - [ "nospell.text", " " ], + [ "nospell.text", " main " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "factor" ], + [ "nospell.text", " factor" ], [ "paren.keyword.operator", ")" ], [ "text", "," ] ] @@ -364,12 +332,9 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "factor" ], - [ "nospell.text", " " ], + [ "nospell.text", " factor " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], + [ "nospell.text", " picker" ], [ "paren.keyword.operator", "(" ], [ "text", "\"" ], [ "nospell.text", "GNP" ], @@ -382,8 +347,7 @@ [ "text", "\"" ], [ "nospell.text", "Employed" ], [ "text", "\"" ], - [ "paren.keyword.operator", ")" ], - [ "paren.keyword.operator", ")" ] + [ "paren.keyword.operator", "))" ] ] }, { @@ -394,16 +358,7 @@ "state": "nospell", "data": [ [ "text", "##" ], - [ "nospell.text", " " ], - [ "nospell.text", "Create" ], - [ "nospell.text", " " ], - [ "nospell.text", "a" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], - [ "nospell.text", " " ], - [ "nospell.text", "with" ], - [ "nospell.text", " " ], - [ "nospell.text", "labels" ] + [ "nospell.text", " Create a picker with labels" ] ] }, { @@ -416,17 +371,13 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "plot" ], + [ "nospell.text", " plot" ], [ "paren.keyword.operator", "(" ], [ "nospell.text", "pressure" ], [ "text", "," ], - [ "nospell.text", " " ], - [ "nospell.text", "type" ], - [ "nospell.text", " " ], + [ "nospell.text", " type " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "type" ], + [ "nospell.text", " type" ], [ "paren.keyword.operator", ")" ], [ "text", "," ], [ "nospell.text", " " ] @@ -435,12 +386,9 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "type" ], - [ "nospell.text", " " ], + [ "nospell.text", " type " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], + [ "nospell.text", " picker" ], [ "paren.keyword.operator", "(" ], [ "text", "\"" ], [ "nospell.text", "points" ], @@ -471,8 +419,7 @@ [ "text", "\"" ], [ "nospell.text", "s" ], [ "text", "\"" ], - [ "paren.keyword.operator", ")" ], - [ "paren.keyword.operator", ")" ] + [ "paren.keyword.operator", "))" ] ] }, { @@ -485,12 +432,7 @@ "state": "nospell", "data": [ [ "text", "##" ], - [ "nospell.text", " " ], - [ "nospell.text", "Picker" ], - [ "nospell.text", " " ], - [ "nospell.text", "with" ], - [ "nospell.text", " " ], - [ "nospell.text", "groups" ] + [ "nospell.text", " Picker with groups" ] ] }, { @@ -503,8 +445,7 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "barplot" ], + [ "nospell.text", " barplot" ], [ "paren.keyword.operator", "(" ], [ "nospell.text", "as" ], [ "text", "." ], @@ -516,11 +457,9 @@ [ "text", ",\"" ], [ "nospell.text", "mpg" ], [ "text", "\"" ], - [ "paren.keyword.operator", "]" ], - [ "paren.keyword.operator", ")" ], + [ "paren.keyword.operator", "])" ], [ "text", "," ], - [ "nospell.text", " " ], - [ "nospell.text", "beside" ], + [ "nospell.text", " beside" ], [ "text", "=" ], [ "nospell.text", "TRUE" ], [ "paren.keyword.operator", ")" ], @@ -530,22 +469,16 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "group" ], - [ "nospell.text", " " ], + [ "nospell.text", " group " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], + [ "nospell.text", " picker" ], [ "paren.keyword.operator", "(" ], [ "text", "\"" ], - [ "nospell.text", "Group" ], - [ "nospell.text", " " ], - [ "nospell.text", "1" ], + [ "nospell.text", "Group 1" ], [ "text", "\"" ], [ "nospell.text", " " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "1" ], + [ "nospell.text", " 1" ], [ "text", ":" ], [ "nospell.text", "11" ], [ "text", "," ], @@ -557,14 +490,11 @@ "data": [ [ "nospell.text", " " ], [ "text", "\"" ], - [ "nospell.text", "Group" ], - [ "nospell.text", " " ], - [ "nospell.text", "2" ], + [ "nospell.text", "Group 2" ], [ "text", "\"" ], [ "nospell.text", " " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "12" ], + [ "nospell.text", " 12" ], [ "text", ":" ], [ "nospell.text", "22" ], [ "text", "," ], @@ -576,18 +506,14 @@ "data": [ [ "nospell.text", " " ], [ "text", "\"" ], - [ "nospell.text", "Group" ], - [ "nospell.text", " " ], - [ "nospell.text", "3" ], + [ "nospell.text", "Group 3" ], [ "text", "\"" ], [ "nospell.text", " " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "23" ], + [ "nospell.text", " 23" ], [ "text", ":" ], [ "nospell.text", "32" ], - [ "paren.keyword.operator", ")" ], - [ "paren.keyword.operator", ")" ] + [ "paren.keyword.operator", "))" ] ] }, { @@ -598,19 +524,9 @@ "state": "nospell", "data": [ [ "text", "##" ], - [ "nospell.text", " " ], - [ "nospell.text", "Histogram" ], - [ "nospell.text", " " ], - [ "nospell.text", "w" ], + [ "nospell.text", " Histogram w" ], [ "text", "/" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], - [ "nospell.text", " " ], - [ "nospell.text", "to" ], - [ "nospell.text", " " ], - [ "nospell.text", "select" ], - [ "nospell.text", " " ], - [ "nospell.text", "type" ] + [ "nospell.text", " picker to select type" ] ] }, { @@ -641,16 +557,12 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "histogram" ], + [ "nospell.text", " histogram" ], [ "paren.keyword.operator", "(" ], [ "text", "~" ], - [ "nospell.text", " " ], - [ "nospell.text", "height" ], - [ "nospell.text", " " ], + [ "nospell.text", " height " ], [ "text", "|" ], - [ "nospell.text", " " ], - [ "nospell.text", "voice" ], + [ "nospell.text", " voice" ], [ "text", "." ], [ "nospell.text", "part" ], [ "text", "," ], @@ -660,19 +572,13 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "data" ], - [ "nospell.text", " " ], + [ "nospell.text", " data " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "singer" ], + [ "nospell.text", " singer" ], [ "text", "," ], - [ "nospell.text", " " ], - [ "nospell.text", "type" ], - [ "nospell.text", " " ], + [ "nospell.text", " type " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "type" ], + [ "nospell.text", " type" ], [ "paren.keyword.operator", ")" ], [ "text", "," ] ] @@ -680,12 +586,9 @@ { "state": "nospell", "data": [ - [ "nospell.text", " " ], - [ "nospell.text", "type" ], - [ "nospell.text", " " ], + [ "nospell.text", " type " ], [ "text", "=" ], - [ "nospell.text", " " ], - [ "nospell.text", "picker" ], + [ "nospell.text", " picker" ], [ "paren.keyword.operator", "(" ], [ "text", "\"" ], [ "nospell.text", "percent" ], @@ -698,8 +601,7 @@ [ "text", "\"" ], [ "nospell.text", "density" ], [ "text", "\"" ], - [ "paren.keyword.operator", ")" ], - [ "paren.keyword.operator", ")" ] + [ "paren.keyword.operator", "))" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_rhtml.json b/lib/ace/mode/_test/tokens_rhtml.json index d25a1077..63d89b8c 100644 --- a/lib/ace/mode/_test/tokens_rhtml.json +++ b/lib/ace/mode/_test/tokens_rhtml.json @@ -4,7 +4,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "html" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -16,7 +16,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "head" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -24,11 +24,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "title" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Title" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -36,7 +36,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -48,7 +48,7 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "body" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -60,19 +60,19 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "This is an R HTML document. When you click the " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "b" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Knit HTML" ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "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", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -109,11 +109,11 @@ "data": [ [ "meta.tag", "<" ], [ "meta.tag.tag-name", "p" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "You can also embed plots, for example:" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -150,7 +150,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -158,7 +158,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_scad.json b/lib/ace/mode/_test/tokens_scad.json index b9eefe5f..44753261 100644 --- a/lib/ace/mode/_test/tokens_scad.json +++ b/lib/ace/mode/_test/tokens_scad.json @@ -26,15 +26,13 @@ "data": [ [ "text", "\t" ], [ "identifier", "translate" ], - [ "paren.lparen", "(" ], - [ "paren.lparen", "[" ], + [ "paren.lparen", "([" ], [ "identifier", "xpos" ], [ "text", "," ], [ "identifier", "ypos" ], [ "text", "," ], [ "identifier", "zpos" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "paren.lparen", "{" ] ] }, @@ -53,8 +51,7 @@ "data": [ [ "text", "\t\t\t" ], [ "identifier", "cube" ], - [ "paren.lparen", "(" ], - [ "paren.lparen", "[" ], + [ "paren.lparen", "([" ], [ "constant.numeric", "10" ], [ "text", "," ], [ "constant.numeric", "10" ], @@ -87,15 +84,13 @@ "data": [ [ "text", "\t\t\t" ], [ "identifier", "translate" ], - [ "paren.lparen", "(" ], - [ "paren.lparen", "[" ], + [ "paren.lparen", "([" ], [ "constant.numeric", "0" ], [ "text", "," ], [ "constant.numeric", "0" ], [ "text", "," ], [ "constant.numeric", "10" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "identifier", "sphere" ], [ "paren.lparen", "(" ], [ "constant.numeric", "5" ], @@ -148,8 +143,7 @@ [ "constant.numeric", "0" ], [ "text", ":" ], [ "constant.numeric", "30" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "paren.lparen", "{" ] ] }, @@ -220,8 +214,7 @@ [ "constant.numeric", "7" ], [ "text", ", " ], [ "constant.numeric", "11" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "paren.lparen", "{" ] ] }, @@ -230,8 +223,7 @@ "data": [ [ "text", "\t" ], [ "identifier", "rotate" ], - [ "paren.lparen", "(" ], - [ "paren.lparen", "[" ], + [ "paren.lparen", "([" ], [ "identifier", "i" ], [ "keyword.operator", "*" ], [ "constant.numeric", "10" ], @@ -239,18 +231,15 @@ [ "constant.numeric", "0" ], [ "text", "," ], [ "constant.numeric", "0" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "identifier", "scale" ], - [ "paren.lparen", "(" ], - [ "paren.lparen", "[" ], + [ "paren.lparen", "([" ], [ "constant.numeric", "1" ], [ "text", "," ], [ "constant.numeric", "1" ], [ "text", "," ], [ "identifier", "i" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", ")" ], + [ "paren.rparen", "])" ], [ "identifier", "cube" ], [ "paren.lparen", "(" ], [ "constant.numeric", "10" ], diff --git a/lib/ace/mode/_test/tokens_scala.json b/lib/ace/mode/_test/tokens_scala.json index 88fa8332..64ee64c0 100644 --- a/lib/ace/mode/_test/tokens_scala.json +++ b/lib/ace/mode/_test/tokens_scala.json @@ -330,8 +330,7 @@ [ "text", " " ], [ "identifier", "Start" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "=>" ] ] }, { @@ -378,8 +377,7 @@ [ "text", " " ], [ "identifier", "SendPing" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "=>" ] ] }, { @@ -416,8 +414,7 @@ [ "text", " " ], [ "identifier", "Pong" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "=>" ] ] }, { @@ -621,8 +618,7 @@ [ "text", " " ], [ "identifier", "Ping" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "=>" ] ] }, { @@ -694,8 +690,7 @@ [ "text", " " ], [ "identifier", "Stop" ], [ "text", " " ], - [ "keyword.operator", "=" ], - [ "keyword.operator", ">" ] + [ "keyword.operator", "=>" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_scss.json b/lib/ace/mode/_test/tokens_scss.json index fddaeda5..716ce3dd 100644 --- a/lib/ace/mode/_test/tokens_scss.json +++ b/lib/ace/mode/_test/tokens_scss.json @@ -2,8 +2,7 @@ { "state": "start", "data": [ - [ "comment", "/*" ], - [ "comment", " style.scss */" ] + [ "comment", "/* style.scss */" ] ] }, { diff --git a/lib/ace/mode/_test/tokens_sh.json b/lib/ace/mode/_test/tokens_sh.json index 8db30226..16bbe439 100644 --- a/lib/ace/mode/_test/tokens_sh.json +++ b/lib/ace/mode/_test/tokens_sh.json @@ -52,8 +52,7 @@ [ "text", " " ], [ "identifier", "config" ], [ "text", " " ], - [ "keyword.operator", "-" ], - [ "keyword.operator", "-" ], + [ "keyword.operator", "--" ], [ "identifier", "get" ], [ "text", " " ], [ "identifier", "github" ], @@ -389,8 +388,7 @@ [ "identifier", "HEAD" ], [ "text", " " ], [ "constant.numeric", "2" ], - [ "keyword.operator", ">" ], - [ "keyword.operator", "/" ], + [ "keyword.operator", ">/" ], [ "identifier", "dev" ], [ "keyword.operator", "/" ], [ "identifier", "null" ], diff --git a/lib/ace/mode/_test/tokens_svg.json b/lib/ace/mode/_test/tokens_svg.json index bba445bc..fd8cb5b3 100644 --- a/lib/ace/mode/_test/tokens_svg.json +++ b/lib/ace/mode/_test/tokens_svg.json @@ -35,7 +35,7 @@ [ "entity.other.attribute-name", "onload" ], [ "keyword.operator", "=" ], [ "string", "\"StartAnimation(evt)\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -48,11 +48,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "title" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Test Tube Progress Bar" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -61,11 +61,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "desc" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Created for the Web Directions SVG competition" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -82,9 +82,8 @@ [ "entity.other.attribute-name", "type" ], [ "keyword.operator", "=" ], [ "string", "\"text/ecmascript\"" ], - [ "meta.tag", ">" ], - [ "keyword.operator", "<" ], - [ "keyword.operator", "!" ], + [ "meta.tag.r", ">" ], + [ "keyword.operator", "" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -725,7 +722,7 @@ [ "entity.other.attribute-name", "id" ], [ "keyword.operator", "=" ], [ "string", "\"rect3590\"" ], - [ "meta.tag", "/>" ] + [ "meta.tag.r", "/>" ] ] }, { @@ -783,7 +780,7 @@ [ "entity.other.attribute-name", "display" ], [ "keyword.operator", "=" ], [ "string", "\"none\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -792,7 +789,7 @@ [ "text", " Hickory," ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -846,7 +843,7 @@ [ "entity.other.attribute-name", "display" ], [ "keyword.operator", "=" ], [ "string", "\"none\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -855,7 +852,7 @@ [ "text", " dickory," ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -909,7 +906,7 @@ [ "entity.other.attribute-name", "display" ], [ "keyword.operator", "=" ], [ "string", "\"none\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -918,7 +915,7 @@ [ "text", " dock!" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -926,7 +923,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_tcl.json b/lib/ace/mode/_test/tokens_tcl.json index 4d59cf8e..89204036 100644 --- a/lib/ace/mode/_test/tokens_tcl.json +++ b/lib/ace/mode/_test/tokens_tcl.json @@ -141,8 +141,7 @@ [ "text", " " ], [ "variable.instancce", "$" ], [ "variable.instance", "graph" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "}" ], + [ "paren.rparen", "]}" ], [ "text", " " ], [ "paren.lparen", "{" ] ] @@ -212,9 +211,7 @@ [ "text", " " ], [ "variable.instancce", "$" ], [ "variable.instance", "uu" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "}" ], + [ "paren.rparen", "]]}" ], [ "text", " " ], [ "paren.lparen", "{" ] ] @@ -351,8 +348,7 @@ [ "text", " " ], [ "variable.instancce", "$" ], [ "variable.instance", "v" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "}" ], + [ "paren.rparen", "]}" ], [ "text", " " ], [ "paren.lparen", "{" ] ] @@ -376,8 +372,7 @@ [ "text", " " ], [ "variable.instancce", "$" ], [ "variable.instance", "dd" ], - [ "paren.rparen", "}" ], - [ "paren.rparen", "]" ] + [ "paren.rparen", "}]" ] ] }, { @@ -402,8 +397,7 @@ [ "text", " " ], [ "variable.instancce", "$" ], [ "variable.instance", "v" ], - [ "paren.rparen", "]" ], - [ "paren.rparen", "}" ], + [ "paren.rparen", "]}" ], [ "text", " " ], [ "paren.lparen", "{" ] ] diff --git a/lib/ace/mode/_test/tokens_tex.json b/lib/ace/mode/_test/tokens_tex.json index 1ecc6211..fa4499cb 100644 --- a/lib/ace/mode/_test/tokens_tex.json +++ b/lib/ace/mode/_test/tokens_tex.json @@ -37,8 +37,7 @@ [ "keyword", "\\newcommand" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\be" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ], + [ "paren.keyword.operator", "}{" ], [ "comment", "%" ] ] }, @@ -72,9 +71,7 @@ [ "text", "ifstar" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\nonumber" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ], - [ "paren.keyword.operator", "}" ], + [ "paren.keyword.operator", "}{}" ], [ "comment", "%" ] ] }, @@ -92,8 +89,7 @@ [ "keyword", "\\newcommand" ], [ "paren.keyword.operator", "{" ], [ "keyword", "\\ee" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ], + [ "paren.keyword.operator", "}{" ], [ "keyword", "\\endeqnarray\\endgroup" ], [ "paren.keyword.operator", "}" ] ] @@ -129,8 +125,7 @@ [ "keyword", "\\begin" ], [ "paren.keyword.operator", "{" ], [ "nospell.text", "array" ], - [ "paren.keyword.operator", "}" ], - [ "paren.keyword.operator", "{" ], + [ "paren.keyword.operator", "}{" ], [ "text", "cl" ], [ "paren.keyword.operator", "}" ] ] diff --git a/lib/ace/mode/_test/tokens_textile.json b/lib/ace/mode/_test/tokens_textile.json index beb947bc..2768b4c4 100644 --- a/lib/ace/mode/_test/tokens_textile.json +++ b/lib/ace/mode/_test/tokens_textile.json @@ -91,8 +91,7 @@ [ "string", "two" ], [ "text", " " ], [ "string", "three" ], - [ "keyword", ")" ], - [ "keyword", ". " ], + [ "keyword", "). " ], [ "text", "This is a paragraph with classes" ] ] }, @@ -104,11 +103,9 @@ "state": "start", "data": [ [ "markup.heading", "p" ], - [ "keyword", "(" ], - [ "keyword", "#" ], + [ "keyword", "(#" ], [ "string", "id" ], - [ "keyword", ")" ], - [ "keyword", ". " ], + [ "keyword", "). " ], [ "text", "(one with an id)" ] ] }, @@ -128,8 +125,7 @@ [ "string", "three" ], [ "keyword", "#" ], [ "string", "my_id" ], - [ "keyword", ")" ], - [ "keyword", ". " ], + [ "keyword", "). " ], [ "text", "..classes + id" ] ] }, diff --git a/lib/ace/mode/_test/tokens_typescript.json b/lib/ace/mode/_test/tokens_typescript.json index 4923d708..eea87ea4 100644 --- a/lib/ace/mode/_test/tokens_typescript.json +++ b/lib/ace/mode/_test/tokens_typescript.json @@ -173,8 +173,7 @@ [ "paren.lparen", "(" ], [ "entity.name.function.ts", "greeter.greet" ], [ "paren.lparen", "(" ], - [ "paren.rparen", ")" ], - [ "paren.rparen", ")" ] + [ "paren.rparen", "))" ] ] }, { @@ -652,8 +651,7 @@ [ "text", " " ], [ "identifier", "stringBuilder" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], [ "string", "\" turn continues,\"" ], [ "punctuation.operator", ";" ] @@ -672,8 +670,7 @@ [ "text", " " ], [ "identifier", "stringBuilder" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], [ "string", "\" stores \"" ], [ "text", " " ], @@ -708,8 +705,7 @@ [ "text", " " ], [ "identifier", "stringBuilder" ], [ "text", " " ], - [ "keyword.operator", "+" ], - [ "keyword.operator", "=" ], + [ "keyword.operator", "+=" ], [ "text", " " ], [ "string", "\" captures \"" ], [ "text", " " ], diff --git a/lib/ace/mode/_test/tokens_xml.json b/lib/ace/mode/_test/tokens_xml.json index b7c9dcfd..faeb11e8 100644 --- a/lib/ace/mode/_test/tokens_xml.json +++ b/lib/ace/mode/_test/tokens_xml.json @@ -31,7 +31,7 @@ [ "entity.other.attribute-name", "yahoo:lang" ], [ "keyword.operator", "=" ], [ "string", "\"en-US\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -40,7 +40,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "diagnostics" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -49,11 +49,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "publiclyCallable" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "true" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -74,11 +74,11 @@ [ "entity.other.attribute-name", "execution-time" ], [ "keyword.operator", "=" ], [ "string", "\"25\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -87,11 +87,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "user-time" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "26" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -100,11 +100,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "service-time" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "25" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -113,11 +113,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "build-version" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "21978" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -126,7 +126,7 @@ [ "text", " " ], [ "meta.tag", "" ], + [ "meta.tag.r", ">" ], [ "text", " " ] ] }, @@ -136,7 +136,7 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "results" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -162,7 +162,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/24865670\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -171,11 +171,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "24865670" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -188,11 +188,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -201,11 +201,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Africa" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -214,7 +214,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -240,7 +240,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/24865675\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -249,11 +249,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "24865675" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -266,11 +266,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -279,11 +279,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Europe" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -292,7 +292,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -318,7 +318,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/24865673\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -327,11 +327,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "24865673" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -344,11 +344,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -357,11 +357,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "South America" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -370,7 +370,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -396,7 +396,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/28289421\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -405,11 +405,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "28289421" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -422,11 +422,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -435,11 +435,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Antarctic" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -448,7 +448,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -474,7 +474,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/24865671\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -483,11 +483,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "24865671" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -500,11 +500,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -513,11 +513,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Asia" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -526,7 +526,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -552,7 +552,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/24865672\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -561,11 +561,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "24865672" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -578,11 +578,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -591,11 +591,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "North America" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -604,7 +604,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -630,7 +630,7 @@ [ "entity.other.attribute-name", "yahoo:uri" ], [ "keyword.operator", "=" ], [ "string", "\"http://where.yahooapis.com/v1/place/55949070\"" ], - [ "meta.tag", ">" ] + [ "meta.tag.r", ">" ] ] }, { @@ -639,11 +639,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "woeid" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "55949070" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -656,11 +656,11 @@ [ "entity.other.attribute-name", "code" ], [ "keyword.operator", "=" ], [ "string", "\"29\"" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Continent" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -669,11 +669,11 @@ [ "text", " " ], [ "meta.tag", "<" ], [ "meta.tag.tag-name", "name" ], - [ "meta.tag", ">" ], + [ "meta.tag.r", ">" ], [ "text", "Australia" ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -682,7 +682,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -691,7 +691,7 @@ [ "text", " " ], [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] }, { @@ -699,7 +699,7 @@ "data": [ [ "meta.tag", "" ] + [ "meta.tag.r", ">" ] ] } ] \ No newline at end of file diff --git a/lib/ace/mode/_test/tokens_yaml.json b/lib/ace/mode/_test/tokens_yaml.json index 0dc38ce6..bbfb8aaa 100644 --- a/lib/ace/mode/_test/tokens_yaml.json +++ b/lib/ace/mode/_test/tokens_yaml.json @@ -30,9 +30,7 @@ "data": [ [ "meta.tag", "date" ], [ "keyword", ": " ], - [ "constant.numeric", "2007" ], - [ "constant.numeric", "-08" ], - [ "constant.numeric", "-06" ] + [ "constant.numeric", "2007-08-06" ] ] }, {