Module zng_wgt_text::node
source · Expand description
UI nodes used for building a text widget.
Structs§
- Represents the caret position at the
ResolvedText
level. - IME text edit that is not committed yet.
- Represents the laidout text.
- Text layout parts that need rebuild.
- Info about the last text render or render update.
- Represents the resolved fonts and the transformed, white space corrected and segmented text.
- Text internals used by text implementer nodes and properties.
Enums§
- Defines the source of the current selection.
Functions§
- Default interactive caret visual.
- An Ui node that implements interaction and renders the interactive carets.
- An UI node that layouts the parent
ResolvedText
defined by the text context vars. - Create a node that is sized one text line height by
width
. - An Ui node that renders the edit caret visual.
- An Ui node that renders the default IME preview underline visual using the parent
LaidoutText
. - An Ui node that renders the default overline visual using the parent
LaidoutText
. - An Ui node that renders the text selection background.
- An Ui node that renders the default strikethrough visual using the parent
LaidoutText
. - An UI node that renders the parent
LaidoutText
. - An Ui node that renders the default underline visual using the parent
LaidoutText
. - An UI node that resolves the text context vars, applies the text transform and white space correction and segments the
text
. - Implements the selection toolbar.
- Set the caret hotspot that marks the middle of the caret on the text line.