Merge pull request #1007 from ajaxorg/theme/cobalt

Update missing strings; add a few more JS keywords
This commit is contained in:
Harutyun Amirjanyan 2012-10-03 11:19:50 -07:00
commit 30c8082b72
9 changed files with 116 additions and 98 deletions

View file

@ -51,11 +51,11 @@ var JavaScriptHighlightRules = function() {
"JSON|Math|" + // Other "JSON|Math|" + // Other
"this|arguments|prototype|window|document" , // Pseudo "this|arguments|prototype|window|document" , // Pseudo
"invalid.deprecated": "invalid.deprecated":
"__parent__|__count__|escape|unescape|with|__proto__|debugger", "__parent__|__count__|escape|unescape|with|__proto__",
"keyword": "keyword":
"const|yield|import|get|set" + "const|yield|import|get|set" +
"break|case|catch|continue|default|delete|do|else|finally|for|function|" + "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
"if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|", "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger",
"storage.type": "storage.type":
"const|let|var|function", "const|let|var|function",
"invalid.illegal": "invalid.illegal":
@ -63,9 +63,10 @@ var JavaScriptHighlightRules = function() {
"public|interface|package|protected|static", "public|interface|package|protected|static",
"constant.language": "constant.language":
"null|Infinity|NaN|undefined", "null|Infinity|NaN|undefined",
"support.function":
"alert",
}, "identifier"); }, "identifier");
// keywords which can be followed by regular expressions // keywords which can be followed by regular expressions
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield"; var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield";

View file

@ -22,41 +22,41 @@
border-bottom: 1px solid black; border-bottom: 1px solid black;
} }
.ace-chrome .ace_line .ace_invisible { .ace-chrome .ace_invisible {
color: rgb(191, 191, 191); color: rgb(191, 191, 191);
} }
.ace-chrome .ace_line .ace_constant.ace_buildin { .ace-chrome .ace_constant.ace_buildin {
color: rgb(88, 72, 246); color: rgb(88, 72, 246);
} }
.ace-chrome .ace_line .ace_constant.ace_language { .ace-chrome .ace_constant.ace_language {
color: rgb(88, 92, 246); color: rgb(88, 92, 246);
} }
.ace-chrome .ace_line .ace_constant.ace_library { .ace-chrome .ace_constant.ace_library {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-chrome .ace_line .ace_invalid { .ace-chrome .ace_invalid {
background-color: rgb(153, 0, 0); background-color: rgb(153, 0, 0);
color: white; color: white;
} }
.ace-chrome .ace_line .ace_fold { .ace-chrome .ace_fold {
} }
.ace-chrome .ace_line .ace_support.ace_function { .ace-chrome .ace_support.ace_function {
color: rgb(60, 76, 114); color: rgb(60, 76, 114);
} }
.ace-chrome .ace_line .ace_support.ace_constant { .ace-chrome .ace_support.ace_constant {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-chrome .ace_line .ace_support.ace_type, .ace-chrome .ace_support.ace_type,
.ace-chrome .ace_line .ace_support.ace_class .ace-chrome .ace_support.ace_class
.ace-chrome .ace_line .ace_support.ace_other { .ace-chrome .ace_support.ace_other {
color: rgb(109, 121, 222); color: rgb(109, 121, 222);
} }
@ -64,31 +64,31 @@
font-style:italic; font-style:italic;
color:#FD971F; color:#FD971F;
} }
.ace-chrome .ace_line .ace_keyword.ace_operator { .ace-chrome .ace_keyword.ace_operator {
color: rgb(104, 118, 135); color: rgb(104, 118, 135);
} }
.ace-chrome .ace_line .ace_comment { .ace-chrome .ace_comment {
color: #236e24; color: #236e24;
} }
.ace-chrome .ace_line .ace_comment.ace_doc { .ace-chrome .ace_comment.ace_doc {
color: #236e24; color: #236e24;
} }
.ace-chrome .ace_line .ace_comment.ace_doc.ace_tag { .ace-chrome .ace_comment.ace_doc.ace_tag {
color: #236e24; color: #236e24;
} }
.ace-chrome .ace_line .ace_constant.ace_numeric { .ace-chrome .ace_constant.ace_numeric {
color: rgb(0, 0, 205); color: rgb(0, 0, 205);
} }
.ace-chrome .ace_line .ace_variable { .ace-chrome .ace_variable {
color: rgb(49, 132, 149); color: rgb(49, 132, 149);
} }
.ace-chrome .ace_line .ace_xml-pe { .ace-chrome .ace_xml-pe {
color: rgb(104, 104, 91); color: rgb(104, 104, 91);
} }
@ -136,7 +136,7 @@
} }
.ace-chrome .ace_storage, .ace-chrome .ace_storage,
.ace-chrome .ace_line .ace_keyword, .ace-chrome .ace_keyword,
.ace-chrome .ace_meta.ace_tag { .ace-chrome .ace_meta.ace_tag {
color: rgb(147, 15, 128); color: rgb(147, 15, 128);
} }
@ -145,7 +145,7 @@
color: rgb(255, 0, 0) color: rgb(255, 0, 0)
} }
.ace-chrome .ace_line .ace_string { .ace-chrome .ace_string {
color: #1A1AA6; color: #1A1AA6;
} }

View file

@ -97,6 +97,14 @@
color: #FFEE80 color: #FFEE80
} }
.ace-cobalt .ace_entity {
color: #FFDD00
}
.ace-cobalt .ace_string {
color: #3AD900
}
.ace-cobalt .ace_string.ace_regexp { .ace-cobalt .ace_string.ace_regexp {
color: #80FFC2 color: #80FFC2
} }

View file

@ -31,80 +31,80 @@
border-bottom: 1px solid black; border-bottom: 1px solid black;
} }
.ace-crimson-editor .ace_line .ace_invisible { .ace-crimson-editor .ace_invisible {
color: rgb(191, 191, 191); color: rgb(191, 191, 191);
} }
.ace-crimson-editor .ace_line .ace_identifier { .ace-crimson-editor .ace_identifier {
color: black; color: black;
} }
.ace-crimson-editor .ace_line .ace_keyword { .ace-crimson-editor .ace_keyword {
color: blue; color: blue;
} }
.ace-crimson-editor .ace_line .ace_constant.ace_buildin { .ace-crimson-editor .ace_constant.ace_buildin {
color: rgb(88, 72, 246); color: rgb(88, 72, 246);
} }
.ace-crimson-editor .ace_line .ace_constant.ace_language { .ace-crimson-editor .ace_constant.ace_language {
color: rgb(255, 156, 0); color: rgb(255, 156, 0);
} }
.ace-crimson-editor .ace_line .ace_constant.ace_library { .ace-crimson-editor .ace_constant.ace_library {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-crimson-editor .ace_line .ace_invalid { .ace-crimson-editor .ace_invalid {
text-decoration: line-through; text-decoration: line-through;
color: rgb(224, 0, 0); color: rgb(224, 0, 0);
} }
.ace-crimson-editor .ace_line .ace_fold { .ace-crimson-editor .ace_fold {
} }
.ace-crimson-editor .ace_line .ace_support.ace_function { .ace-crimson-editor .ace_support.ace_function {
color: rgb(192, 0, 0); color: rgb(192, 0, 0);
} }
.ace-crimson-editor .ace_line .ace_support.ace_constant { .ace-crimson-editor .ace_support.ace_constant {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-crimson-editor .ace_line .ace_support.ace_type, .ace-crimson-editor .ace_support.ace_type,
.ace-crimson-editor .ace_line .ace_support.ace_class { .ace-crimson-editor .ace_support.ace_class {
color: rgb(109, 121, 222); color: rgb(109, 121, 222);
} }
.ace-crimson-editor .ace_line .ace_keyword.ace_operator { .ace-crimson-editor .ace_keyword.ace_operator {
color: rgb(49, 132, 149); color: rgb(49, 132, 149);
} }
.ace-crimson-editor .ace_line .ace_string { .ace-crimson-editor .ace_string {
color: rgb(128, 0, 128); color: rgb(128, 0, 128);
} }
.ace-crimson-editor .ace_line .ace_comment { .ace-crimson-editor .ace_comment {
color: rgb(76, 136, 107); color: rgb(76, 136, 107);
} }
.ace-crimson-editor .ace_line .ace_comment.ace_doc { .ace-crimson-editor .ace_comment.ace_doc {
color: rgb(0, 102, 255); color: rgb(0, 102, 255);
} }
.ace-crimson-editor .ace_line .ace_comment.ace_doc.ace_tag { .ace-crimson-editor .ace_comment.ace_doc.ace_tag {
color: rgb(128, 159, 191); color: rgb(128, 159, 191);
} }
.ace-crimson-editor .ace_line .ace_constant.ace_numeric { .ace-crimson-editor .ace_constant.ace_numeric {
color: rgb(0, 0, 64); color: rgb(0, 0, 64);
} }
.ace-crimson-editor .ace_line .ace_variable { .ace-crimson-editor .ace_variable {
color: rgb(0, 64, 128); color: rgb(0, 64, 128);
} }
.ace-crimson-editor .ace_line .ace_xml-pe { .ace-crimson-editor .ace_xml-pe {
color: rgb(104, 104, 91); color: rgb(104, 104, 91);
} }

View file

@ -28,78 +28,78 @@
border-bottom: 1px solid black; border-bottom: 1px solid black;
} }
.ace-dreamweaver .ace_line .ace_invisible { .ace-dreamweaver .ace_invisible {
color: rgb(191, 191, 191); color: rgb(191, 191, 191);
} }
.ace-dreamweaver .ace_line .ace_storage, .ace-dreamweaver .ace_storage,
.ace-dreamweaver .ace_line .ace_keyword { .ace-dreamweaver .ace_keyword {
color: blue; color: blue;
} }
.ace-dreamweaver .ace_line .ace_constant.ace_buildin { .ace-dreamweaver .ace_constant.ace_buildin {
color: rgb(88, 72, 246); color: rgb(88, 72, 246);
} }
.ace-dreamweaver .ace_line .ace_constant.ace_language { .ace-dreamweaver .ace_constant.ace_language {
color: rgb(88, 92, 246); color: rgb(88, 92, 246);
} }
.ace-dreamweaver .ace_line .ace_constant.ace_library { .ace-dreamweaver .ace_constant.ace_library {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-dreamweaver .ace_line .ace_invalid { .ace-dreamweaver .ace_invalid {
background-color: rgb(153, 0, 0); background-color: rgb(153, 0, 0);
color: white; color: white;
} }
.ace-dreamweaver .ace_line .ace_support.ace_function { .ace-dreamweaver .ace_support.ace_function {
color: rgb(60, 76, 114); color: rgb(60, 76, 114);
} }
.ace-dreamweaver .ace_line .ace_support.ace_constant { .ace-dreamweaver .ace_support.ace_constant {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-dreamweaver .ace_line .ace_support.ace_type, .ace-dreamweaver .ace_support.ace_type,
.ace-dreamweaver .ace_line .ace_support.ace_class { .ace-dreamweaver .ace_support.ace_class {
color: #009; color: #009;
} }
.ace-dreamweaver .ace_line .ace_support.ace_php_tag { .ace-dreamweaver .ace_support.ace_php_tag {
color: #f00; color: #f00;
} }
.ace-dreamweaver .ace_line .ace_keyword.ace_operator { .ace-dreamweaver .ace_keyword.ace_operator {
color: rgb(104, 118, 135); color: rgb(104, 118, 135);
} }
.ace-dreamweaver .ace_line .ace_string { .ace-dreamweaver .ace_string {
color: #00F; color: #00F;
} }
.ace-dreamweaver .ace_line .ace_comment { .ace-dreamweaver .ace_comment {
color: rgb(76, 136, 107); color: rgb(76, 136, 107);
} }
.ace-dreamweaver .ace_line .ace_comment.ace_doc { .ace-dreamweaver .ace_comment.ace_doc {
color: rgb(0, 102, 255); color: rgb(0, 102, 255);
} }
.ace-dreamweaver .ace_line .ace_comment.ace_doc.ace_tag { .ace-dreamweaver .ace_comment.ace_doc.ace_tag {
color: rgb(128, 159, 191); color: rgb(128, 159, 191);
} }
.ace-dreamweaver .ace_line .ace_constant.ace_numeric { .ace-dreamweaver .ace_constant.ace_numeric {
color: rgb(0, 0, 205); color: rgb(0, 0, 205);
} }
.ace-dreamweaver .ace_line .ace_variable { .ace-dreamweaver .ace_variable {
color: #06F color: #06F
} }
.ace-dreamweaver .ace_line .ace_xml-pe { .ace-dreamweaver .ace_xml-pe {
color: rgb(104, 104, 91); color: rgb(104, 104, 91);
} }

View file

@ -24,52 +24,52 @@
border-left: 2px solid black; border-left: 2px solid black;
} }
.ace-eclipse .ace_line .ace_storage, .ace-eclipse .ace_storage,
.ace-eclipse .ace_line .ace_keyword, .ace-eclipse .ace_keyword,
.ace-eclipse .ace_line .ace_variable { .ace-eclipse .ace_variable {
color: rgb(127, 0, 85); color: rgb(127, 0, 85);
} }
.ace-eclipse .ace_line .ace_constant.ace_buildin { .ace-eclipse .ace_constant.ace_buildin {
color: rgb(88, 72, 246); color: rgb(88, 72, 246);
} }
.ace-eclipse .ace_line .ace_constant.ace_library { .ace-eclipse .ace_constant.ace_library {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-eclipse .ace_line .ace_function { .ace-eclipse .ace_function {
color: rgb(60, 76, 114); color: rgb(60, 76, 114);
} }
.ace-eclipse .ace_line .ace_string { .ace-eclipse .ace_string {
color: rgb(42, 0, 255); color: rgb(42, 0, 255);
} }
.ace-eclipse .ace_line .ace_comment { .ace-eclipse .ace_comment {
color: rgb(63, 127, 95); color: rgb(63, 127, 95);
} }
.ace-eclipse .ace_line .ace_comment.ace_doc { .ace-eclipse .ace_comment.ace_doc {
color: rgb(63, 95, 191); color: rgb(63, 95, 191);
} }
.ace-eclipse .ace_line .ace_comment.ace_doc.ace_tag { .ace-eclipse .ace_comment.ace_doc.ace_tag {
color: rgb(127, 159, 191); color: rgb(127, 159, 191);
} }
.ace-eclipse .ace_line .ace_constant.ace_numeric { .ace-eclipse .ace_constant.ace_numeric {
} }
.ace-eclipse .ace_line .ace_tag { .ace-eclipse .ace_tag {
color: rgb(63, 127, 127); color: rgb(63, 127, 127);
} }
.ace-eclipse .ace_line .ace_type { .ace-eclipse .ace_type {
color: rgb(127, 0, 127); color: rgb(127, 0, 127);
} }
.ace-eclipse .ace_line .ace_xml-pe { .ace-eclipse .ace_xml-pe {
color: rgb(104, 104, 91); color: rgb(104, 104, 91);
} }
@ -82,7 +82,7 @@
border: 1px solid rgb(192, 192, 192); border: 1px solid rgb(192, 192, 192);
} }
.ace-eclipse .ace_line .ace_meta.ace_tag { .ace-eclipse .ace_meta.ace_tag {
color:rgb(63, 127, 127); color:rgb(63, 127, 127);
} }

View file

@ -97,6 +97,10 @@
color: #FFEE80 color: #FFEE80
} }
.ace-kr-theme .ace_string {
color: rgba(164, 161, 181, 0.8)
}
.ace-kr-theme .ace_string.ace_regexp { .ace-kr-theme .ace_string.ace_regexp {
color: rgba(125, 255, 192, 0.65) color: rgba(125, 255, 192, 0.65)
} }

View file

@ -59,6 +59,11 @@
color: rgba(102, 108, 104, 0.50) color: rgba(102, 108, 104, 0.50)
} }
.ace-mono-industrial .ace_string {
background-color: #151C19;
color: #FFFFFF
}
.ace-mono-industrial .ace_keyword, .ace-mono-industrial .ace_keyword,
.ace-mono-industrial .ace_meta { .ace-mono-industrial .ace_meta {
color: #A39E64 color: #A39E64

View file

@ -25,78 +25,78 @@
border-bottom: 1px solid black; border-bottom: 1px solid black;
} }
.ace-tm .ace_line .ace_invisible { .ace-tm .ace_invisible {
color: rgb(191, 191, 191); color: rgb(191, 191, 191);
} }
.ace-tm .ace_line .ace_storage, .ace-tm .ace_storage,
.ace-tm .ace_line .ace_keyword { .ace-tm .ace_keyword {
color: blue; color: blue;
} }
.ace-tm .ace_line .ace_constant { .ace-tm .ace_constant {
color: rgb(197, 6, 11); color: rgb(197, 6, 11);
} }
.ace-tm .ace_line .ace_constant.ace_buildin { .ace-tm .ace_constant.ace_buildin {
color: rgb(88, 72, 246); color: rgb(88, 72, 246);
} }
.ace-tm .ace_line .ace_constant.ace_language { .ace-tm .ace_constant.ace_language {
color: rgb(88, 92, 246); color: rgb(88, 92, 246);
} }
.ace-tm .ace_line .ace_constant.ace_library { .ace-tm .ace_constant.ace_library {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-tm .ace_line .ace_invalid { .ace-tm .ace_invalid {
background-color: rgba(255, 0, 0, 0.1); background-color: rgba(255, 0, 0, 0.1);
color: red; color: red;
} }
.ace-tm .ace_line .ace_support.ace_function { .ace-tm .ace_support.ace_function {
color: rgb(60, 76, 114); color: rgb(60, 76, 114);
} }
.ace-tm .ace_line .ace_support.ace_constant { .ace-tm .ace_support.ace_constant {
color: rgb(6, 150, 14); color: rgb(6, 150, 14);
} }
.ace-tm .ace_line .ace_support.ace_type, .ace-tm .ace_support.ace_type,
.ace-tm .ace_line .ace_support.ace_class { .ace-tm .ace_support.ace_class {
color: rgb(109, 121, 222); color: rgb(109, 121, 222);
} }
.ace-tm .ace_line .ace_keyword.ace_operator { .ace-tm .ace_keyword.ace_operator {
color: rgb(104, 118, 135); color: rgb(104, 118, 135);
} }
.ace-tm .ace_line .ace_string { .ace-tm .ace_string {
color: rgb(3, 106, 7); color: rgb(3, 106, 7);
} }
.ace-tm .ace_line .ace_comment { .ace-tm .ace_comment {
color: rgb(76, 136, 107); color: rgb(76, 136, 107);
} }
.ace-tm .ace_line .ace_comment.ace_doc { .ace-tm .ace_comment.ace_doc {
color: rgb(0, 102, 255); color: rgb(0, 102, 255);
} }
.ace-tm .ace_line .ace_comment.ace_doc.ace_tag { .ace-tm .ace_comment.ace_doc.ace_tag {
color: rgb(128, 159, 191); color: rgb(128, 159, 191);
} }
.ace-tm .ace_line .ace_constant.ace_numeric { .ace-tm .ace_constant.ace_numeric {
color: rgb(0, 0, 205); color: rgb(0, 0, 205);
} }
.ace-tm .ace_line .ace_variable { .ace-tm .ace_variable {
color: rgb(49, 132, 149); color: rgb(49, 132, 149);
} }
.ace-tm .ace_line .ace_xml-pe { .ace-tm .ace_xml-pe {
color: rgb(104, 104, 91); color: rgb(104, 104, 91);
} }