Replaces the text represented by this object by the given text.
Inserts text at the specified position.
text | - text that is inserted. |
position | - index at which to insert the text. |
Copies the text range into the clipboard.
startPos | - start index of the text to moved into the clipboard. |
endPos | - end index of the text to moved into the clipboard. |
Deletes a range of text and copies it to the clipboard.
startPos | - start index of the text to be deleted. |
endOffset | - end index of the text to be deleted. |
Deletes a range of text.
startPos | - start index of the text to be deleted. |
endPos | - end index of the text to be deleted. |
Pastes text from the clipboard.
position | - index at which to insert the text from the system clipboard into the text represented by this object. |