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

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