Skip to main content

formula_text_edit

Function formula_text_edit 

Source
fn formula_text_edit(
    ui: &mut Ui,
    text: &mut String,
    id: Id,
    hint: &str,
    span: Option<Range<usize>>,
    keep_tab: bool,
) -> TextEditOutput
Expand description

A formula editor: a single-line edit of text with id id, highlighted, the error span underlined, filling the row. keep_tab: Tab stays in the edit rather than moving the focus.