({ state, dispatch })
| 119 | export const yUndoManager = cmView.ViewPlugin.fromClass(YUndoManagerPluginValue) |
| 120 | |
| 121 | export const undo: cmState.StateCommand = ({ state, dispatch }) => |
| 122 | state.facet(yUndoManagerFacet).undo() || true |
| 123 | |
| 124 | export const redo: cmState.StateCommand = ({ state, dispatch }) => |
| 125 | state.facet(yUndoManagerFacet).redo() || true |
no test coverage detected
searching dependent graphs…