RangeHighlighter (@NotNull ToggleableLineRange toggleableLineRange) { Side side = Side.RIGHT; int line = LocalTrackerDiffUtil.getSingleCheckBoxLine(toggleableLineRange, side); boolean isExcludedFromCommit = toggleableLineRange.getFragmentData().getExclusionState() instanceof RangeExclusionState.Excluded; return LocalTrackerDiffUtil.createCheckboxToggle(getEditor(side), line, isExcludedFromCommit, () -> { LocalTrackerDiffUtil.toggleBlockExclusion(myTrackerActionProvider, line, isExcludedFromCommit); }); }