Skip to content

Commit

Permalink
Merge pull request #4478 from Flopsey/master
Browse files Browse the repository at this point in the history
Improve Java highlighting rules for operators
  • Loading branch information
nightwing authored Apr 23, 2021
2 parents 554831e + 4e6b10f commit bfde34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ace/mode/java_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ var JavaHighlightRules = function() {
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
}, {
token : "keyword.operator",
regex : "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
regex : "!|\\$|%|&|\\||\\^|\\*|\\/|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?|\\:|\\*=|\\/=|%=|\\+=|\\-=|&=|\\|=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
}, {
token : "lparen",
regex : "[[({]"
Expand Down

0 comments on commit bfde34b

Please sign in to comment.