Skip to main content

undo

Function undo 

Source
pub fn undo(
    value: &str,
    state: &TextEditState,
    now: f32,
) -> Option<(String, TextEditState)>
Expand description

Undo the most recent edit. None when the undo stack is empty — a real no-op the caller should skip committing/repainting for.