MagicDisplayableText

Takes a string with the format "This is a ==highlighted== sentence with ==words==."

Usage:

        MagicDisplayableText magicText = new MagicDisplayableText(str);

        text.addPara(
                magicText.format,
                textColor,
                highlightColor,
                magicText.highlights
        );

Constructors

Link copied to clipboard
constructor(str: String)

Properties

Link copied to clipboard
open var format: String
The text with the highlights replaced by '%s'.
Link copied to clipboard
An array of the highlighted parts of the string.
Link copied to clipboard
The text that was passed in as `str`.