clearHistory method
void
clearHistory()
Clears undo and redo history.
Implementation
void clearHistory() {
_undoStack.clear();
_redoStack.clear();
_historyBatchSnapshot = null;
_historyBatchDepth = 0;
}
Clears undo and redo history.
void clearHistory() {
_undoStack.clear();
_redoStack.clear();
_historyBatchSnapshot = null;
_historyBatchDepth = 0;
}