undo

fun undo()

Takes back the last step (see HistoryManager.undo); canUndo says whether there is one.