Allow highlighting parens with a diff color via .ace_paren style.
This commit is contained in:
parent
6fdb285562
commit
4f482437d7
14 changed files with 32 additions and 32 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue