From d604f3aced1a362d5223e3ca830504d82d3d8a2c Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Wed, 23 Dec 2015 16:47:57 +0300 Subject: [PATCH] lst: clear dirty range on reinstallRanges() this fixes some of "java.lang.IndexOutOfBoundsException: Wrong line: 418. Available lines count: 418" in doUpdateRanges() --- .../src/com/intellij/openapi/vcs/ex/LineStatusTracker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java index e27273f9343e..9177842c6680 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java @@ -167,6 +167,7 @@ public class LineStatusTracker { private void destroyRanges() { removeAnathema(); removeHighlightersFromMarkupModel(); + myDirtyRange = null; } @CalledInAwt