Removes a subtextpart from the collection including all its nested subtextparts.
<void> SubTextPartCollection.remove(<SubTextPart> subTextPart, <Boolean> keepText, <Boolean> keepNested, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])
||Specifies the subtextpart to remove.|
||If this parameter is set to true, the subtextpart is removed without deleting its visible text. Otherwise, the visible text is also removed.|
||If this parameter is set to true, nested subtextparts are preserved. When the keep
|callback||Optional. Receives a value which indicates whether the remove was succesful.|
||Optional. Is called when the operation failed with an error.|