From 7d6402d0a017896729f5f2e754d3bd61f3cc4657 Mon Sep 17 00:00:00 2001 From: "Denis.Zhdanov" Date: Tue, 4 Oct 2011 16:16:17 +0400 Subject: [PATCH] IDEA-75162 Brace highlighter: don't highlight backwards if caret is at the token start Typo is corrected --- .../codeInsight/highlighting/BraceHighlightingHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java index 3215743eb71d..353dfaf7eb6c 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/highlighting/BraceHighlightingHandler.java @@ -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() {