boolean (@NotNull Side side) { EditorEx editor = side.select(myResultEditor, myPatchEditor); return DiffUtil.isSomeRangeSelected(editor, lines -> { return ContainerUtil.exists(myModelChanges, change -> isChangeSelected(change, lines, side)); }); }