RangeHighlighter (@NotNull UnifiedFragmentBuilder builder, int line, @NotNull Side side, boolean isExcludedFromCommit) { LineNumberConvertor lineConvertor = side.select(builder.getConvertor1(), builder.getConvertor2()); int editorLine = lineConvertor.convertApproximateInv(line); return LocalTrackerDiffUtil.createCheckboxToggle(getEditor(), editorLine, isExcludedFromCommit, () -> { LocalTrackerDiffUtil.toggleLinePartialExclusion(myTrackerActionProvider, line, side, isExcludedFromCommit); }); }