mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-75162 Brace highlighter: don't highlight backwards if caret is at the token start
Typo is corrected
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user