From f3353d6fd908688acd00c658d2f953adeeff9dec Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 18 Mar 2008 04:33:52 +0300 Subject: [PATCH] sql resolve/highlighting impros, alter support, mysql ddl, minor fixes --- source/com/intellij/internal/psiView/PsiViewerDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/com/intellij/internal/psiView/PsiViewerDialog.java b/source/com/intellij/internal/psiView/PsiViewerDialog.java index 6717e8e21b..125138a62b 100644 --- a/source/com/intellij/internal/psiView/PsiViewerDialog.java +++ b/source/com/intellij/internal/psiView/PsiViewerDialog.java @@ -327,7 +327,7 @@ public class PsiViewerDialog extends DialogWrapper { } final int textLength = myEditor.getDocument().getTextLength(); - if (end < textLength) { + if (end <= textLength) { myHighlighter = myEditor.getMarkupModel().addRangeHighlighter(start, end, HighlighterLayer.FIRST + 1, myAttributes, HighlighterTargetArea.EXACT_RANGE); } } -- 2.11.4.GIT