The node you are looking for is at
fl_set_input_selected_range()
.