Obsolete. This method will be removed in one of the next versions. Inserts a new SubTextPart into the TextPart at the current input position.

Introduced: X16.

<void> TextPart.addSubTextPart(<function> callback, <SubTextPartInfo> subTextPart)

Parameters

Parameter Description
callback A function with one parameter. Is called with an AddResult object as a parameter, which indicates whether the SubTextPart was succesfully created, as soon as the information has been retrieved from the server.
subTextPart Specifies the new SubTextPart's properties. The specification of the SubTextPart.name property is required. If the SubTextPart.start and SubTextPart.length properties are available then the SubTextPart will be created at this textrange.