Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RtlZeroMemory/Rezi
/ clear
Method
clear
packages/core/src/widgets/codeEditor.ts:562–565 ·
view source on GitHub ↗
Clear both stacks.
()
Source
from the content-addressed store, hash-verified
560
561
/** Clear both stacks. */
562
clear(): void {
563
this.undoStack.length = 0;
564
this.redoStack.length = 0;
565
}
566
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected