List<ApplyPatchChange> (@NotNull Side side) { EditorEx editor = side.select(myResultEditor, myPatchEditor); BitSet lines = DiffUtil.getSelectedLines(editor); return ContainerUtil.filter(myModelChanges, change -> isChangeSelected(change, lines, side)); }