From 7f3c201d2671f5f5d9fa1025a879992a344e0f23 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Mon, 20 Aug 2018 17:46:58 +0300 Subject: [PATCH] lst: erase dirty flag after full refresh --- .../src/com/intellij/openapi/vcs/ex/DocumentTracker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/diff-impl/src/com/intellij/openapi/vcs/ex/DocumentTracker.kt b/platform/diff-impl/src/com/intellij/openapi/vcs/ex/DocumentTracker.kt index 23c4c4863206..48d95bac7702 100644 --- a/platform/diff-impl/src/com/intellij/openapi/vcs/ex/DocumentTracker.kt +++ b/platform/diff-impl/src/com/intellij/openapi/vcs/ex/DocumentTracker.kt @@ -653,7 +653,7 @@ private class LineTracker(private val handler: Handler, handler.onRangesAdded(newBlocks) blocks = newBlocks - if (dirty) isDirty = true + isDirty = dirty handler.afterExplicitChange() }