boolean (@NotNull ApplyPatchChange change, @NotNull BitSet lines, @NotNull Side side) { if (!isEnabled(change)) return false; LineRange range = side.select(change.getResultRange(), change.getPatchRange()); if (range == null) return false; return DiffUtil.isSelectedByLine(lines, range.start, range.end); }