Sets the number of selected characters.

<void> Selection.setLength(<number> length, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
length The number of selected characters.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.