Expand description
UI nodes used for building a text widget.
Structs§
- Caret
Info - Represents the caret position at the
ResolvedTextcontext. - ImePreview
- IME text edit that is not committed yet.
- Laidout
Text - Represents the laidout text.
- Pending
Layout - Text layout parts that need rebuild.
- Render
Info - Info about the last text render or render update.
- Resolved
Text - Represents the resolved fonts and the transformed, white space corrected and segmented text.
- Rich
Caret Info - Represents the caret position in a
RichTextcontext. - Rich
Line Info - Info about how a rich text leaf defines new lines in a rich text.
- Rich
Text - Represents the rich text context.
- Rich
Text Copy Param - Parameter used in
COPY_CMDrequests sent from the rich text context to collect all selected text for copy. - TEXT
- Text internals used by text implementer nodes and properties.
Enums§
- Rich
Text Component - Represents what kind of component the widget is in a rich text tree.
- Selection
By - Defines the source of the current selection.
Traits§
- Rich
Text Widget Info Ext - Extends
WidgetInfostate to provide information about rich text.
Functions§
- default_
interactive_ caret_ visual - Default interactive caret visual.
- interactive_
carets - An Ui node that implements interaction and renders the interactive carets.
- layout_
text - An UI node that layouts the parent
ResolvedTextdefined by the text context vars. - line_
placeholder - Create a node that is sized one text line height by
width. - non_
interactive_ caret - An Ui node that renders the edit caret visual.
- render_
ime_ preview_ underlines - An Ui node that renders the default IME preview underline visual using the parent
LaidoutText. - render_
overlines - An Ui node that renders the default overline visual using the parent
LaidoutText. - render_
selection - An Ui node that renders the text selection background.
- render_
strikethroughs - An Ui node that renders the default strikethrough visual using the parent
LaidoutText. - render_
text - An UI node that renders the parent
LaidoutText. - render_
underlines - An Ui node that renders the default underline visual using the parent
LaidoutText. - resolve_
text - An UI node that resolves the text context vars, applies the text transform and white space correction and segments the
text. - rich_
text_ component - An UI node that implements some behavior for rich text composition.
- selection_
toolbar_ node - Implements the selection toolbar.
- set_
interactive_ caret_ spot - Set the caret hotspot that marks the middle of the caret on the text line.