Snapshot current state as a new undo point.
(self)
| 982 | # ── undo / redo ─────────────────────────────────────────────────────────── |
| 983 | |
| 984 | def _push_undo(self) -> None: |
| 985 | """Snapshot current state as a new undo point.""" |
| 986 | self._push_snapshot(self.to_data()) |
| 987 | |
| 988 | def _push_snapshot(self, data) -> None: |
| 989 | """Push a pre-captured snapshot onto the undo stack.""" |
no test coverage detected