virtual bool IsMultiline() const = 0;
IsMultiline determines whether the text is multi-line or single-line.
Returns true if text is multi-line otherwise false.