Include storage.type for JS definitions; fix various themes

This commit is contained in:
Garen Torikian 2012-03-22 11:04:06 +01:00
commit a0038069b8
28 changed files with 207 additions and 105 deletions

View file

@ -137,7 +137,7 @@ var JavaScriptHighlightRules = function() {
token : "constant.numeric", // float token : "constant.numeric", // float
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b" regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
}, { }, {
token : ["keyword.definition", "text", "entity.name.function"], token : ["storage.type", "text", "entity.name.function"],
regex : "(function)(\\s+)(" + identifierRe + ")" regex : "(function)(\\s+)(" + identifierRe + ")"
}, { }, {
token : "constant.language.boolean", token : "constant.language.boolean",
@ -153,7 +153,7 @@ var JavaScriptHighlightRules = function() {
else if (deprecated.hasOwnProperty(value)) else if (deprecated.hasOwnProperty(value))
return "invalid.deprecated"; return "invalid.deprecated";
else if (definitions.hasOwnProperty(value)) else if (definitions.hasOwnProperty(value))
return "keyword.definition"; return "storage.type";
else if (keywords.hasOwnProperty(value)) else if (keywords.hasOwnProperty(value))
return "keyword"; return "keyword";
else if (buildinConstants.hasOwnProperty(value)) else if (buildinConstants.hasOwnProperty(value))

View file

@ -63,7 +63,7 @@ module.exports = {
assert.equal("text", tokens[1].type); assert.equal("text", tokens[1].type);
assert.equal("keyword.operator", tokens[2].type); assert.equal("keyword.operator", tokens[2].type);
assert.equal("text", tokens[3].type); assert.equal("text", tokens[3].type);
assert.equal("keyword.definition", tokens[4].type); assert.equal("storage.type", tokens[4].type);
}, },
"test: tokenize doc comment" : function() { "test: tokenize doc comment" : function() {

View file

@ -79,15 +79,11 @@ exports.cssText = ".ace-chrome .ace_editor {\
border-left: 0px;\ border-left: 0px;\
border-bottom: 1px solid black;\ border-bottom: 1px solid black;\
}\ }\
\ \
.ace-chrome .ace_line .ace_invisible {\ .ace-chrome .ace_line .ace_invisible {\
color: rgb(191, 191, 191);\ color: rgb(191, 191, 191);\
}\ }\
\ \
.ace-chrome .ace_line .ace_keyword {\
color: blue;\
}\
\
.ace-chrome .ace_line .ace_constant.ace_buildin {\ .ace-chrome .ace_line .ace_constant.ace_buildin {\
color: rgb(88, 72, 246);\ color: rgb(88, 72, 246);\
}\ }\
@ -125,10 +121,6 @@ exports.cssText = ".ace-chrome .ace_editor {\
color: rgb(104, 118, 135);\ color: rgb(104, 118, 135);\
}\ }\
\ \
.ace-chrome .ace_line .ace_string {\
color: #1919a6;\
}\
\
.ace-chrome .ace_line .ace_comment {\ .ace-chrome .ace_line .ace_comment {\
color: #236e24;\ color: #236e24;\
}\ }\
@ -195,6 +187,8 @@ exports.cssText = ".ace-chrome .ace_editor {\
border: 1px solid rgb(200, 200, 250);\ border: 1px solid rgb(200, 200, 250);\
}\ }\
\ \
.ace-chrome .ace_storage,\
.ace-chrome .ace_line .ace_keyword,\
.ace-chrome .ace_meta.ace_tag {\ .ace-chrome .ace_meta.ace_tag {\
color: rgb(147, 15, 128);\ color: rgb(147, 15, 128);\
}\ }\
@ -203,6 +197,7 @@ exports.cssText = ".ace-chrome .ace_editor {\
color: rgb(255, 0, 0)\ color: rgb(255, 0, 0)\
}\ }\
\ \
.ace-chrome .ace_line .ace_string,\
.ace-chrome .ace_entity.ace_other.ace_attribute-name{\ .ace-chrome .ace_entity.ace_other.ace_attribute-name{\
color: #994409;\ color: #994409;\
}"; }";

View file

@ -130,6 +130,10 @@ exports.cssText = "\
color:#C52727;\ color:#C52727;\
}\ }\
\ \
.ace-clouds .ace_storage {\
color:#C52727;\
}\
\
.ace-clouds .ace_string {\ .ace-clouds .ace_string {\
color:#5D90CD;\ color:#5D90CD;\
}\ }\
@ -146,7 +150,6 @@ exports.cssText = "\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -131,6 +131,10 @@ background-color:#E92E2E;\
color:#E92E2E;\ color:#E92E2E;\
}\ }\
\ \
.ace-clouds-midnight .ace_storage {\
color:#E92E2E;\
}\
\
.ace-clouds-midnight .ace_string {\ .ace-clouds-midnight .ace_string {\
color:#5D90CD;\ color:#5D90CD;\
}\ }\
@ -147,7 +151,6 @@ background-color:#E92E2E;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -127,6 +127,10 @@ background-color:#800F00;\
color:#FFB054;\ color:#FFB054;\
}\ }\
\ \
.ace-cobalt .ace_storage {\
color:#FFEE80;\
}\
\
.ace-cobalt .ace_string.ace_regexp {\ .ace-cobalt .ace_string.ace_regexp {\
color:#80FFC2;\ color:#80FFC2;\
}\ }\
@ -161,6 +165,6 @@ background-color:#001221;\
background-color:#130D26;\ background-color:#130D26;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -135,6 +135,11 @@ color:#B52A1D;\
color:#693A17;\ color:#693A17;\
}\ }\
\ \
.ace-dawn .ace_storage {\
font-style:italic;\
color:#A71D5D;\
}\
\
.ace-dawn .ace_string {\ .ace-dawn .ace_string {\
color:#0B6125;\ color:#0B6125;\
}\ }\
@ -164,6 +169,6 @@ color:#5A525F;\
color:#693A17;\ color:#693A17;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -37,187 +37,188 @@
define(function(require, exports, module) { define(function(require, exports, module) {
exports.isDark = false; exports.isDark = false;
exports.cssClass = "ace-tm"; exports.cssClass = "ace-dreamweaver";
exports.cssText = ".ace-tm .ace_editor {\ exports.cssText = ".ace-dreamweaver .ace_editor {\
border: 2px solid rgb(159, 159, 159);\ border: 2px solid rgb(159, 159, 159);\
}\ }\
\ \
.ace-tm .ace_editor.ace_focus {\ .ace-dreamweaver .ace_editor.ace_focus {\
border: 2px solid #327fbd;\ border: 2px solid #327fbd;\
}\ }\
\ \
.ace-tm .ace_gutter {\ .ace-dreamweaver .ace_gutter {\
background: #e8e8e8;\ background: #e8e8e8;\
color: #333;\ color: #333;\
}\ }\
\ \
.ace-tm .ace_print_margin {\ .ace-dreamweaver .ace_print_margin {\
width: 1px;\ width: 1px;\
background: #e8e8e8;\ background: #e8e8e8;\
}\ }\
\ \
.ace-tm .ace_fold {\ .ace-dreamweaver .ace_fold {\
background-color: #00F;\ background-color: #00F;\
}\ }\
\ \
.ace-tm .ace_text-layer {\ .ace-dreamweaver .ace_text-layer {\
cursor: text;\ cursor: text;\
}\ }\
\ \
.ace-tm .ace_cursor {\ .ace-dreamweaver .ace_cursor {\
border-left: 2px solid black;\ border-left: 2px solid black;\
}\ }\
\ \
.ace-tm .ace_cursor.ace_overwrite {\ .ace-dreamweaver .ace_cursor.ace_overwrite {\
border-left: 0px;\ border-left: 0px;\
border-bottom: 1px solid black;\ border-bottom: 1px solid black;\
}\ }\
\ \
.ace-tm .ace_line .ace_invisible {\ .ace-dreamweaver .ace_line .ace_invisible {\
color: rgb(191, 191, 191);\ color: rgb(191, 191, 191);\
}\ }\
\ \
.ace-tm .ace_line .ace_keyword {\ .ace-dreamweaver .ace_line .ace_storage,\
.ace-dreamweaver .ace_line .ace_keyword {\
color: blue;\ color: blue;\
}\ }\
\ \
.ace-tm .ace_line .ace_constant.ace_buildin {\ .ace-dreamweaver .ace_line .ace_constant.ace_buildin {\
color: rgb(88, 72, 246);\ color: rgb(88, 72, 246);\
}\ }\
\ \
.ace-tm .ace_line .ace_constant.ace_language {\ .ace-dreamweaver .ace_line .ace_constant.ace_language {\
color: rgb(88, 92, 246);\ color: rgb(88, 92, 246);\
}\ }\
\ \
.ace-tm .ace_line .ace_constant.ace_library {\ .ace-dreamweaver .ace_line .ace_constant.ace_library {\
color: rgb(6, 150, 14);\ color: rgb(6, 150, 14);\
}\ }\
\ \
.ace-tm .ace_line .ace_invalid {\ .ace-dreamweaver .ace_line .ace_invalid {\
background-color: rgb(153, 0, 0);\ background-color: rgb(153, 0, 0);\
color: white;\ color: white;\
}\ }\
\ \
.ace-tm .ace_line .ace_support.ace_function {\ .ace-dreamweaver .ace_line .ace_support.ace_function {\
color: rgb(60, 76, 114);\ color: rgb(60, 76, 114);\
}\ }\
\ \
.ace-tm .ace_line .ace_support.ace_constant {\ .ace-dreamweaver .ace_line .ace_support.ace_constant {\
color: rgb(6, 150, 14);\ color: rgb(6, 150, 14);\
}\ }\
\ \
.ace-tm .ace_line .ace_support.ace_type,\ .ace-dreamweaver .ace_line .ace_support.ace_type,\
.ace-tm .ace_line .ace_support.ace_class {\ .ace-dreamweaver .ace_line .ace_support.ace_class {\
color: #009;\ color: #009;\
}\ }\
\ \
.ace-tm .ace_line .ace_support.ace_php_tag {\ .ace-dreamweaver .ace_line .ace_support.ace_php_tag {\
color: #f00;\ color: #f00;\
}\ }\
\ \
.ace-tm .ace_line .ace_keyword.ace_operator {\ .ace-dreamweaver .ace_line .ace_keyword.ace_operator {\
color: rgb(104, 118, 135);\ color: rgb(104, 118, 135);\
}\ }\
\ \
.ace-tm .ace_line .ace_string {\ .ace-dreamweaver .ace_line .ace_string {\
color: #00F;\ color: #00F;\
}\ }\
\ \
.ace-tm .ace_line .ace_comment {\ .ace-dreamweaver .ace_line .ace_comment {\
color: rgb(76, 136, 107);\ color: rgb(76, 136, 107);\
}\ }\
\ \
.ace-tm .ace_line .ace_comment.ace_doc {\ .ace-dreamweaver .ace_line .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-dreamweaver .ace_line .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-dreamweaver .ace_line .ace_constant.ace_numeric {\
color: rgb(0, 0, 205);\ color: rgb(0, 0, 205);\
}\ }\
\ \
.ace-tm .ace_line .ace_variable {\ .ace-dreamweaver .ace_line .ace_variable {\
color: #06F\ color: #06F\
}\ }\
\ \
.ace-tm .ace_line .ace_xml_pe {\ .ace-dreamweaver .ace_line .ace_xml_pe {\
color: rgb(104, 104, 91);\ color: rgb(104, 104, 91);\
}\ }\
\ \
.ace-tm .ace_entity.ace_name.ace_function {\ .ace-dreamweaver .ace_entity.ace_name.ace_function {\
color: #00F;\ color: #00F;\
}\ }\
\ \
.ace-tm .ace_markup.ace_markupine {\ .ace-dreamweaver .ace_markup.ace_markupine {\
text-decoration:underline;\ text-decoration:underline;\
}\ }\
\ \
.ace-tm .ace_markup.ace_heading {\ .ace-dreamweaver .ace_markup.ace_heading {\
color: rgb(12, 7, 255);\ color: rgb(12, 7, 255);\
}\ }\
\ \
.ace-tm .ace_markup.ace_list {\ .ace-dreamweaver .ace_markup.ace_list {\
color:rgb(185, 6, 144);\ color:rgb(185, 6, 144);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_selection {\ .ace-dreamweaver .ace_marker-layer .ace_selection {\
background: rgb(181, 213, 255);\ background: rgb(181, 213, 255);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_step {\ .ace-dreamweaver .ace_marker-layer .ace_step {\
background: rgb(252, 255, 0);\ background: rgb(252, 255, 0);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_stack {\ .ace-dreamweaver .ace_marker-layer .ace_stack {\
background: rgb(164, 229, 101);\ background: rgb(164, 229, 101);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_bracket {\ .ace-dreamweaver .ace_marker-layer .ace_bracket {\
margin: -1px 0 0 -1px;\ margin: -1px 0 0 -1px;\
border: 1px solid rgb(192, 192, 192);\ border: 1px solid rgb(192, 192, 192);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_active_line {\ .ace-dreamweaver .ace_marker-layer .ace_active_line {\
background: rgba(0, 0, 0, 0.07);\ background: rgba(0, 0, 0, 0.07);\
}\ }\
\ \
.ace-tm .ace_marker-layer .ace_selected_word {\ .ace-dreamweaver .ace_marker-layer .ace_selected_word {\
background: rgb(250, 250, 255);\ background: rgb(250, 250, 255);\
border: 1px solid rgb(200, 200, 250);\ border: 1px solid rgb(200, 200, 250);\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag {\ .ace-dreamweaver .ace_meta.ace_tag {\
color:#009;\ color:#009;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_anchor {\ .ace-dreamweaver .ace_meta.ace_tag.ace_anchor {\
color:#060;\ color:#060;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_form {\ .ace-dreamweaver .ace_meta.ace_tag.ace_form {\
color:#F90;\ color:#F90;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_image {\ .ace-dreamweaver .ace_meta.ace_tag.ace_image {\
color:#909;\ color:#909;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_script {\ .ace-dreamweaver .ace_meta.ace_tag.ace_script {\
color:#900;\ color:#900;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_style {\ .ace-dreamweaver .ace_meta.ace_tag.ace_style {\
color:#909;\ color:#909;\
}\ }\
\ \
.ace-tm .ace_meta.ace_tag.ace_table {\ .ace-dreamweaver .ace_meta.ace_tag.ace_table {\
color:#099;\ color:#099;\
}\ }\
\ \
.ace-tm .ace_string.ace_regex {\ .ace-dreamweaver .ace_string.ace_regex {\
color: rgb(255, 0, 0)\ color: rgb(255, 0, 0)\
}"; }";

View file

@ -70,7 +70,9 @@ exports.cssText = ".ace-eclipse .ace_editor {\
border-left: 1px solid black;\ border-left: 1px solid black;\
}\ }\
\ \
.ace-eclipse .ace_line .ace_keyword, .ace-eclipse .ace_line .ace_variable {\ .ace-eclipse .ace_line .ace_storage,\
.ace-eclipse .ace_line .ace_keyword,\
.ace-eclipse .ace_line .ace_variable {\
color: rgb(127, 0, 85);\ color: rgb(127, 0, 85);\
}\ }\
\ \

View file

@ -153,6 +153,6 @@ color:#BC9458;\
background-color:#FFF980; \ background-color:#FFF980; \
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -127,6 +127,10 @@ background-color:#A41300;\
color:#85873A;\ color:#85873A;\
}\ }\
\ \
.ace-kr-theme .ace_storage {\
color:#FFEE80;\
}\
\
.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);\
}\ }\
@ -156,6 +160,6 @@ color:#706D5B;\
background-color:#0F0040;\ background-color:#0F0040;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* Michael Schwartz <mr.pants AT gmail DOT com> * Fabian Jakobs <fabian AT ajax DOT org>
* *
* Alternatively, the contents of this file may be used under the terms of * Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or * either the GNU General Public License Version 2 or later (the "GPL"), or
@ -135,6 +135,10 @@ background-color:#990000;\
color:#FC6F09;\ color:#FC6F09;\
}\ }\
\ \
.ace-merbivore .ace_storage {\
color:#FC6F09;\
}\
\
.ace-merbivore .ace_string {\ .ace-merbivore .ace_string {\
color:#8DFF0A;\ color:#8DFF0A;\
}\ }\
@ -156,6 +160,6 @@ color:#AD2EA4;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* Michael Schwartz <mr.pants AT gmail DOT com> * Fabian Jakobs <fabian AT ajax DOT org>
* *
* Alternatively, the contents of this file may be used under the terms of * Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or * either the GNU General Public License Version 2 or later (the "GPL"), or
@ -136,6 +136,10 @@ background-color:#FE3838;\
border-color: #E6E1DC;\ border-color: #E6E1DC;\
}\ }\
\ \
.ace-merbivore-soft .ace_storage {\
color:#FC803A;\
}\
\
.ace-merbivore-soft .ace_string {\ .ace-merbivore-soft .ace_string {\
color:#8EC65F;\ color:#8EC65F;\
}\ }\
@ -162,6 +166,6 @@ color:#AC4BB8;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -131,6 +131,10 @@ background-color:rgba(153, 0, 0, 0.68);\
color:#588E60;\ color:#588E60;\
}\ }\
\ \
.ace-mono-industrial .ace_storage {\
color:#C23B00;\
}\
\
.ace-mono-industrial .ace_comment {\ .ace-mono-industrial .ace_comment {\
color:#666C68;\ color:#666C68;\
background-color:#151C19;\ background-color:#151C19;\
@ -156,6 +160,6 @@ background-color:#151C19;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -132,6 +132,15 @@ background-color:#AE81FF;\
color:#66D9EF;\ color:#66D9EF;\
}\ }\
\ \
.ace-monokai .ace_storage {\
color:#F92672;\
}\
\
.ace-monokai .ace_storage.ace_type {\
font-style:italic;\
color:#66D9EF;\
}\
\
.ace-monokai .ace_string {\ .ace-monokai .ace_string {\
color:#E6DB74;\ color:#E6DB74;\
}\ }\
@ -152,6 +161,6 @@ background-color:#AE81FF;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* André Fiedler <fiedler dot andre a t gmail dot com> * Fabian Jakobs <fabian AT ajax DOT org>
* *
* Alternatively, the contents of this file may be used under the terms of * Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or * either the GNU General Public License Version 2 or later (the "GPL"), or
@ -174,6 +174,6 @@ color:#D2A8A1;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -122,6 +122,10 @@ exports.cssText = "\
color:#268BD2;\ color:#268BD2;\
}\ }\
\ \
.ace-solarized-dark .ace_storage {\
color:#93A1A1;\
}\
\
.ace-solarized-dark .ace_string {\ .ace-solarized-dark .ace_string {\
color:#2AA198;\ color:#2AA198;\
}\ }\
@ -151,6 +155,6 @@ color:#657B83;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -122,6 +122,10 @@ exports.cssText = "\
color:#268BD2;\ color:#268BD2;\
}\ }\
\ \
.ace-solarized-light .ace_storage {\
color:#073642;\
}\
\
.ace-solarized-light .ace_string {\ .ace-solarized-light .ace_string {\
color:#2AA198;\ color:#2AA198;\
}\ }\
@ -150,6 +154,6 @@ exports.cssText = "\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -79,6 +79,7 @@ exports.cssText = ".ace-tm .ace_editor {\
color: rgb(191, 191, 191);\ color: rgb(191, 191, 191);\
}\ }\
\ \
.ace-tm .ace_line .ace_storage,\
.ace-tm .ace_line .ace_keyword {\ .ace-tm .ace_line .ace_keyword {\
color: blue;\ color: blue;\
}\ }\

View file

@ -136,6 +136,14 @@ background-color:#8959A8;\
color:#4271AE;\ color:#4271AE;\
}\ }\
\ \
.ace-tomorrow .ace_storage {\
color:#8959A8;\
}\
\
.ace-tomorrow .ace_storage.ace_type {\
color:#8959A8;\
}\
\
.ace-tomorrow .ace_string {\ .ace-tomorrow .ace_string {\
color:#718C00;\ color:#718C00;\
}\ }\
@ -172,6 +180,6 @@ background-color:#8959A8;\
color:#718C00;\ color:#718C00;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -136,6 +136,14 @@ background-color:#B798BF;\
color:#81A2BE;\ color:#81A2BE;\
}\ }\
\ \
.ace-tomorrow-night .ace_storage {\
color:#B294BB;\
}\
\
.ace-tomorrow-night .ace_storage.ace_type {\
color:#B294BB;\
}\
\
.ace-tomorrow-night .ace_string {\ .ace-tomorrow-night .ace_string {\
color:#B5BD68;\ color:#B5BD68;\
}\ }\
@ -172,6 +180,6 @@ background-color:#B798BF;\
color:#B5BD68;\ color:#B5BD68;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -136,6 +136,14 @@ background-color:#EBBBFF;\
color:#BBDAFF;\ color:#BBDAFF;\
}\ }\
\ \
.ace-tomorrow-night-blue .ace_storage {\
color:#EBBBFF;\
}\
\
.ace-tomorrow-night-blue .ace_storage.ace_type {\
color:#EBBBFF;\
}\
\
.ace-tomorrow-night-blue .ace_string {\ .ace-tomorrow-night-blue .ace_string {\
color:#D1F1A9;\ color:#D1F1A9;\
}\ }\
@ -172,6 +180,6 @@ background-color:#EBBBFF;\
color:#D1F1A9;\ color:#D1F1A9;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -136,6 +136,14 @@ background-color:#B798BF;\
color:#7AA6DA;\ color:#7AA6DA;\
}\ }\
\ \
.ace-tomorrow-night-bright .ace_storage {\
color:#C397D8;\
}\
\
.ace-tomorrow-night-bright .ace_storage.ace_type {\
color:#C397D8;\
}\
\
.ace-tomorrow-night-bright .ace_string {\ .ace-tomorrow-night-bright .ace_string {\
color:#B9CA4A;\ color:#B9CA4A;\
}\ }\
@ -172,6 +180,6 @@ background-color:#B798BF;\
color:#B9CA4A;\ color:#B9CA4A;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -136,6 +136,14 @@ background-color:#CC99CC;\
color:#6699CC;\ color:#6699CC;\
}\ }\
\ \
.ace-tomorrow-night-eighties .ace_storage {\
color:#CC99CC;\
}\
\
.ace-tomorrow-night-eighties .ace_storage.ace_type {\
color:#CC99CC;\
}\
\
.ace-tomorrow-night-eighties .ace_string {\ .ace-tomorrow-night-eighties .ace_string {\
color:#99CC99;\ color:#99CC99;\
}\ }\
@ -168,6 +176,6 @@ background-color:#CC99CC;\
color:#99CC99;\ color:#99CC99;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -133,6 +133,10 @@ color:#D2A8A1;\
color:#DAD085;\ color:#DAD085;\
}\ }\
\ \
.ace-twilight .ace_storage {\
color:#F9EE98;\
}\
\
.ace-twilight .ace_string {\ .ace-twilight .ace_string {\
color:#8F9D6A;\ color:#8F9D6A;\
}\ }\
@ -174,6 +178,6 @@ color:#5F5A60;\
color:#F9EE98;\ color:#F9EE98;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -19,7 +19,7 @@
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* Michael Schwartz <mr.pants AT gmail DOT com> * Fabian Jakobs <fabian AT ajax DOT org>
* *
* Alternatively, the contents of this file may be used under the terms of * Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or * either the GNU General Public License Version 2 or later (the "GPL"), or
@ -157,6 +157,6 @@ color:#99CC99;\
text-decoration:underline;\ text-decoration:underline;\
}"; }";
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -109,6 +109,14 @@
%support.function% %support.function%
} }
.%cssClass% .ace_storage {
%storage%
}
.%cssClass% .ace_storage.ace_type {
%storage.type%
}
.%cssClass% .ace_function.ace_buildin { .%cssClass% .ace_function.ace_buildin {
%function.buildin% %function.buildin%
} }

View file

@ -69,6 +69,9 @@ var supportedScopes = {
"function": "function", "function": "function",
"function.buildin": "function.buildin", "function.buildin": "function.buildin",
"storage": "storage",
"storage.type": "storage.type",
"invalid": "invalid", "invalid": "invalid",
"invalid.illegal": "invalid.illegal", "invalid.illegal": "invalid.illegal",
"invalid.deprecated": "invalid.deprecated", "invalid.deprecated": "invalid.deprecated",