Function zng_wgt_text::txt_highlight

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

P Highlight a text range.

This property must be set in the text widget.