RangeHighlighter (@NotNull UnifiedFragmentBuilder builder, @NotNull ToggleableLineRange toggleableLineRange) { Side side = Side.RIGHT; int line = LocalTrackerDiffUtil.getSingleCheckBoxLine(toggleableLineRange, side); boolean isExcludedFromCommit = toggleableLineRange.getFragmentData().getExclusionState() instanceof RangeExclusionState.Excluded; LineNumberConvertor lineConvertor = side.select(builder.getConvertor1(), builder.getConvertor2()); int editorLine = lineConvertor.convertApproximateInv(line); return LocalTrackerDiffUtil.createCheckboxToggle(getEditor(), editorLine, isExcludedFromCommit, () -> { LocalTrackerDiffUtil.toggleBlockExclusion(myTrackerActionProvider, line, isExcludedFromCommit); }); }