List<SimpleDiffChange> (@NotNull Side side) { EditorEx editor = getEditor(side); BitSet lines = DiffUtil.getSelectedLines(editor); return ContainerUtil.filter(getDiffChanges(), change -> isChangeSelected(change, lines, side)); }