add block comment for sql

This commit is contained in:
nightwing 2014-02-11 20:22:08 +04:00
commit 9db70f0351

View file

@ -59,6 +59,10 @@ var SqlHighlightRules = function() {
"start" : [ {
token : "comment",
regex : "--.*$"
}, {
token : "comment",
start : "/\\*",
end : "\\*/"
}, {
token : "string", // " string
regex : '".*?"'
@ -85,6 +89,7 @@ var SqlHighlightRules = function() {
regex : "\\s+"
} ]
};
this.normalizeRules();
};
oop.inherits(SqlHighlightRules, TextHighlightRules);