Skip to main content

edit_line

Function edit_line 

Source
fn edit_line(
    e: &LineEdit,
    prompt: &'static str,
    formula: bool,
    d: Option<&Diagnostic>,
) -> Line<'static>
Expand description

The prompt (edit> , or formula> for a formula) and the text, the cell under the caret reversed and a diagnostic’s span red and underlined. In a formula with the caret at the end inside a call, the parameters still to type follow, dimmed.