feature(ace) 1.1.3

This commit is contained in:
coderaiser 2014-03-12 09:16:06 -04:00
parent cf4b3c3e37
commit eada8693cf
229 changed files with 110049 additions and 35797 deletions

View file

@ -46,6 +46,7 @@ oop.inherits(Mode, TextMode);
this.lineCommentStart = "--";
this.$id = "ace/mode/sql";
}).call(Mode.prototype);
exports.Mode = Mode;
@ -83,6 +84,10 @@ var SqlHighlightRules = function() {
"start" : [ {
token : "comment",
regex : "--.*$"
}, {
token : "comment",
start : "/\\*",
end : "\\*/"
}, {
token : "string", // " string
regex : '".*?"'
@ -109,6 +114,7 @@ var SqlHighlightRules = function() {
regex : "\\s+"
} ]
};
this.normalizeRules();
};
oop.inherits(SqlHighlightRules, TextHighlightRules);