txt_highlight

Function txt_highlight 

Source
pub fn txt_highlight(
    child: impl IntoUiNode,
    range: impl IntoVar<Range<CaretIndex>>,
    color: impl IntoVar<Rgba>,
) -> UiNode
Expand description

P Highlight a text range.

This property must be set in the text widget.