set_selection
Description:
Selects the region of text between start_pos
and end_pos
.
This function changes the position of the cursor to match start_pos
and the selection bound to match end_pos
.
Parameters:
this |
a Text |
start_pos |
start of the selection, in characters |
end_pos |
end of the selection, in characters |