({ state, dispatch })
| 122 | state.facet(yUndoManagerFacet).undo() || true |
| 123 | |
| 124 | export const redo: cmState.StateCommand = ({ state, dispatch }) => |
| 125 | state.facet(yUndoManagerFacet).redo() || true |
| 126 | |
| 127 | export const undoDepth = (state: cmState.EditorState) => |
| 128 | state.facet(yUndoManagerFacet).undoManager.undoStack.length |
no test coverage detected
searching dependent graphs…