Allow highlighting parens with a diff color via .ace_paren style.

This commit is contained in:
Irakli Gozalishvili 2011-09-08 12:33:45 +02:00
commit 4f482437d7
14 changed files with 32 additions and 32 deletions

View file

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