()
| 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; |
no test coverage detected