Std.Ui.History
10 public declarations
- amend
&Std.Ui.History.History[S] -> S -> Std.Ui.History.History[S]The history with the present replaced and nothing recorded, for a change
- canRedo
&Std.Ui.History.History[S] -> BoolWhether a step forward exists.
- canUndo
&Std.Ui.History.History[S] -> BoolWhether a step back exists.
- depth
&Std.Ui.History.History[S] -> (Int, Int)How many steps back and forward exist.
- History
Undo and redo over whole states.
- presentOf
&Std.Ui.History.History[S] -> SThe current state.
- record
&Std.Ui.History.History[S] -> S -> Std.Ui.History.History[S]The history after a change to
next: the present becomes undoable and - redo
&Std.Ui.History.History[S] -> Std.Ui.History.History[S]The history one step forward, or unchanged when nothing can be redone.
- start
S -> Int -> Std.Ui.History.History[S]A history holding only
present, keeping at mostlimitearlier states. - undo
&Std.Ui.History.History[S] -> Std.Ui.History.History[S]The history one step back, or unchanged when nothing can be undone.
