Runnable (@NotNull List<ToggleableLineRange> toggleableLineRanges) { return () -> { if (myAllowExcludeChangesFromCommit) { for (ToggleableLineRange toggleableLineRange : toggleableLineRanges) { myHighlighters.addAll(createGutterToggleRenderers(toggleableLineRange)); } } for (ToggleableLineRange range : toggleableLineRanges) { ContainerUtil.addIfNotNull(myHighlighters, createClientIdHighlighter(range)); } if (!myHighlighters.isEmpty()) { getEditor1().getGutterComponentEx().revalidateMarkup(); getEditor2().getGutterComponentEx().revalidateMarkup(); } }; }