The patch adds a new operator in sequencer_edit.c that sets the frame range, with an option to choose the regular or the preview one, around the selected strips.
In the UI both options are added in the Range sub-menu of the View menu; the Preview range one is also added to the contextual menu.

