Sets the number of selected characters.
<void> Selection.setLength(<number> length, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
length | The number of selected characters. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |