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

Method redoSnapshot

packages/core/src/runtime/inputEditor.ts:563–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

561 }
562
563 redoSnapshot(): InputEditorSnapshot | null {
564 const entry = this.redo.pop();
565 if (!entry) return null;
566 this.undo.push(entry);
567 return entry.after;
568 }
569
570 canUndo(): boolean {
571 return this.undo.length > 0;

Callers 1

routeInputEditingEventFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected