zng::text

Function get_caret_index

source
pub fn get_caret_index(
    child: impl UiNode,
    index: impl IntoVar<Option<CaretIndex>>,
) -> impl UiNode
Expand description

P Gets the caret char index, if the text is editable.