From 28db4209918ed4995d3d31530c9f7c15be759d2e Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Fri, 2 Jun 2017 18:24:50 +0300 Subject: [PATCH] shelve: fix jumping gutter width on patch diff viewer initialisation --- .../intellij/openapi/vcs/changes/patch/tool/PatchDiffTool.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/PatchDiffTool.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/PatchDiffTool.java index a2eeffc4aa4b..baf5a1ced6ce 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/PatchDiffTool.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/PatchDiffTool.java @@ -131,6 +131,8 @@ public class PatchDiffTool implements FrameDiffTool { for (PatchChangeBuilder.Hunk hunk : myHunks) { DiffDrawUtil.createUnifiedChunkHighlighters(myEditor, hunk.getPatchDeletionRange(), hunk.getPatchInsertionRange(), null); } + + myEditor.getGutterComponentEx().revalidateMarkup(); } @Nullable