Replaces a range of characters with the given text.
Parameters:
range
text
See also: replaceText(int, int, String)
Diagram: TextInputControl