update highlighting tests after change

This commit is contained in:
nightwing 2012-12-09 19:15:07 +04:00
commit fa90671619
39 changed files with 538 additions and 873 deletions

View file

@ -397,8 +397,7 @@
[ "text", " " ],
[ "constant.language.escape", "->" ],
[ "text", "--" ],
[ "constant.language.escape", "<=" ],
[ "constant.language.escape", " --" ],
[ "constant.language.escape", "<= --" ],
[ "text", " replacements" ]
]
},

View file

@ -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\");" ]
]
},
{

View file

@ -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 */" ]
]
}
]

View file

@ -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" ]
]

View file

@ -2,8 +2,7 @@
{
"state": "start",
"data": [
[ "comment", "<!--" ],
[ "comment", "- hello world --->" ]
[ "comment", "<!--- hello world --->" ]
]
},
{
@ -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.tag-name", "cfoutput" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
}
]

View file

@ -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" ]
]

View file

@ -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", " " ],

View file

@ -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", "(" ],

View file

@ -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" ]
]
},
{

View file

@ -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.tag-name.style", "style" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -101,7 +101,7 @@
[ "text", " " ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "head" ],
[ "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.tag-name", "h1" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -136,7 +136,7 @@
[ "text", " " ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "body" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -144,7 +144,7 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "html" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
}
]

View file

@ -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", "^*" ],

View file

@ -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.tag-name.script", "script" ],
[ "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.tag-name.style", "style" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name.form", "form" ],
[ "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.tag-name", "body" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -569,7 +563,7 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "html" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
}
]

View file

@ -169,9 +169,7 @@
[ "rparen", "}" ],
[ "lparen", "{" ],
[ "text", "c^2" ],
[ "rparen", "}" ],
[ "rparen", "}" ],
[ "rparen", "}" ]
[ "rparen", "}}}" ]
]
},
{

View file

@ -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", ";" ]
]
},

View file

@ -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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -182,7 +182,7 @@
[ "text", " " ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "li" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -202,7 +202,7 @@
[ "text", " " ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "ul" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "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.tag-name", "h2" ],
[ "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.tag-name", "p" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{

View file

@ -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", "--]=]--" ]
]
},
{

View file

@ -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.tag-name", "title" ],
[ "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", "meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->" ]
[ "comment", "<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->" ]
]
},
{
@ -118,7 +120,7 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "head" ],
[ "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.tag-name", "div" ],
[ "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.tag-name", "b" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "big" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "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.tag-name", "div" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -226,10 +228,9 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"product\" -->" ]
[ "comment", "<!-- id=\"product\" -->" ]
]
},
{
@ -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.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"navigation\" -->" ]
[ "comment", "<!-- id=\"navigation\" -->" ]
]
},
{
@ -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.tag-name", "h2" ],
[ "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", "<tr><td colspan=\"2\">Modules</td></tr>-->" ]
[ "comment", "<!--<tr><td colspan=\"2\">Modules</td></tr>-->" ]
]
},
{
"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.tag-name.anchor", "a" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "td" ],
[ "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.tag-name.table", "td" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -479,15 +487,13 @@
[ "text", "\t" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "tr" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
"state": "start",
"data": [
[ "keyword", "<%" ],
[ "keyword", "end" ],
[ "keyword", "%>" ]
[ "keyword", "<%end%>" ]
]
},
{
@ -495,15 +501,13 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "table" ],
[ "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.tag-name", "h2" ],
[ "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", "<tr><td colspan=\"2\">Files</td></tr>-->" ]
[ "comment", "<!--<tr><td colspan=\"2\">Files</td></tr>-->" ]
]
},
{
"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.tag-name.anchor", "a" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "td" ],
[ "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.tag-name.table", "td" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -659,15 +670,13 @@
[ "text", "\t" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "tr" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
"state": "start",
"data": [
[ "keyword", "<%" ],
[ "keyword", "end" ],
[ "keyword", "%>" ]
[ "keyword", "<%end%>" ]
]
},
{
@ -675,15 +684,13 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name.table", "table" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
"state": "start",
"data": [
[ "keyword", "<%" ],
[ "keyword", "end" ],
[ "keyword", "%>" ]
[ "keyword", "<%end%>" ]
]
},
{
@ -695,10 +702,9 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"content\" -->" ]
[ "comment", "<!-- id=\"content\" -->" ]
]
},
{
@ -710,10 +716,9 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"main\" -->" ]
[ "comment", "<!-- id=\"main\" -->" ]
]
},
{
@ -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.tag-name.anchor", "a" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "p" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -779,10 +784,9 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"about\" -->" ]
[ "comment", "<!-- id=\"about\" -->" ]
]
},
{
@ -794,10 +798,9 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "div" ],
[ "meta.tag", ">" ],
[ "meta.tag.r", ">" ],
[ "text", " " ],
[ "comment", "<!--" ],
[ "comment", " id=\"container\" -->" ],
[ "comment", "<!-- id=\"container\" -->" ],
[ "text", "\t" ]
]
},
@ -806,7 +809,7 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "body" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{
@ -814,7 +817,7 @@
"data": [
[ "meta.tag", "</" ],
[ "meta.tag.tag-name", "html" ],
[ "meta.tag", ">" ]
[ "meta.tag.r", ">" ]
]
},
{

View file

@ -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.tag-name", "div" ],
[ "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.tag-name.script", "script" ],
[ "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.tag-name.script", "script" ],
[ "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.tag-name.script", "script" ],
[ "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.tag-name.script", "script" ],
[ "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." ]
]
},
{

View file

@ -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 */" ]
]
},
{

View file

@ -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", "))" ]
]
}
]

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