TXTextControl.SubTextPart Object

The callback function argument for the getSubTextParts function.

Syntax

[JavaScript]
{
    name: <string>,
    id: <integer>,
    highlightColor: <Color>,
    highlightMode: <HighlightMode>,
    text: <string>,
    number: <integer>,
    start: <integer>,
    length: <integer>,
    nestedLevel: <integer>,
}

Properties

Property Description
highlightColor Gets or sets the highlight color for the subtextpart.
highlightMode Gets or sets a value indicating when the subtextpart is highlighted.
id Gets or sets the subtextpart's identifier.
length Gets the number of characters which belong to the subtextpart.
name Gets or sets the name of the subtextpart.
nestedLevel Gets the subtextpart's nested level.
number Gets the subtextpart's number.
start Gets the index (one-based) of the first character which belongs to the subtextpart.
text Gets the subtextpart's text.