Limit the regional undo within the selected range.