RichTextEntry: {
    end: number;
    format: RichTextStyleItem | null;
    start: number;
}

Defines a rich text entry which defines a span of text and gives them a specific style. The style is defined by the RichTextStyleItem object which supports an override mechanism. Only properties not equal to null will be applied.

Type declaration

  • end: number

    The end character index within the current line to apply the style to.

  • format: RichTextStyleItem | null

    The style to apply. If null, the default style will be used.

  • start: number

    The starting character index within the current line to apply the style to.

Generated using TypeDoc