Sets the formatting style name at the current input position.

<void> InputFormat.setStyleName(<String> styleName, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
styleName The formatting style name at the current input position.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.