method
setRangeText

void setRangeText(
String replacement,
{int start,
int end,
String selectionMode}
)

(Not documented.)