selectRegion

open fun selectRegion(startPos: <Error class: unknown class>, endPos: <Error class: unknown class>)

Selects a region of text.

The characters that are selected are those characters at positions from @start_pos up to, but not including @end_pos. If @end_pos is negative, then the characters selected are those characters from

Parameters

startPos

start of region

endPos

end of region