IDEA-75162 Brace highlighter: don't highlight backwards if caret is at the token start

Typo is corrected
This commit is contained in:
Denis.Zhdanov
2011-10-06 13:12:37 +04:00
parent 9617b16de5
commit 7d6402d0a0
@@ -237,7 +237,7 @@ public class BraceHighlightingHandler {
doHighlight(offset, originalOffset, fileType);
}
else if (offset > 0 && offset < chars.length()) {
// There is a possible case that there is paired braces nearby the caret position and the document contains only white
// There is a possible case that there are paired braces nearby the caret position and the document contains only white
// space symbols between them. We want to highlight such braces as well.
// Example:
// public void test() { <caret>