Sets the currently selected text.

Introduced: X16.

<void> Selection.setText(<string> text, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
text The text.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.