Skip to main content

redo_where

Function redo_where 

pub fn redo_where(
    doc: &mut AutoCommit,
    owns: &dyn Fn(&Version) -> bool,
    limit: usize,
    restore: impl FnMut(&Version) -> Result<Option<Box<dyn Action>>, String>,
    words: &dyn HistoryWords,
) -> Result<Vec<Version>, String>
Expand description

redo of the undos owns claims (see undo_where). Brings back nothing, and says so with an empty list, when owns claims no undo in effect.

ยงErrors

As redo, but for there being nothing to redo.