classnetColarUI::BasicRichTextModel
sys::Obj fwt::RichTextModel netColarUI::BasicRichTextModel
Basic RichTextModel for styling a text It support s "plain" text wit lines separated by \n The whole text is style with ONE style
- charCount
virtual override Int charCount()
- line
- lineAtOffset
- lineCount
virtual override Int lineCount()
- lineStyling
- longestLineWidth
Int longestLineWidth()
Width in pixels of the longest line of this text
- modify
virtual override Void modify(Int start, Int len, Str newText)
- offsetAtLine
- style
RichTextStyle style := ...
Style
- text
virtual override Str text := ""
the text
- textRange