MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / redo

Method redo

packages/core/src/widgets/codeEditor.ts:543–549  ·  view source on GitHub ↗

Pop and return the last redoable action.

()

Source from the content-addressed store, hash-verified

541
542 /** Pop and return the last redoable action. */
543 redo(): EditAction | null {
544 const action = this.redoStack.pop();
545 if (action) {
546 this.undoStack.push(action);
547 }
548 return action ?? null;
549 }
550
551 /** Check if undo is available. */
552 canUndo(): boolean {

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected