Highlighter support for c++, coffee, c#, js punctuation operators.

This commit is contained in:
Irakli Gozalishvili 2011-09-09 17:02:29 +02:00
commit 4e56be878f
4 changed files with 16 additions and 0 deletions

View file

@ -169,6 +169,10 @@ var JavaScriptHighlightRules = function() {
token : "keyword.operator",
regex : "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)",
next : "regex_allowed"
}, {
token : "punctuation.operator",
regex : "\\?|\\:|\\,|\\;|\\.",
next : "regex_allowed"
}, {
token : "paren.lparen",
regex : "[[({]",