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