Files
gridcraft/docs
prxnvt 2b33fcf881 Engine: a failed command rolls back the undo groups it opened
A command that opened an undo group and then returned an error (a `?`
between `group_begin` and `group_end`) left the group open for good:
Undo and Redo refused with "finish or stop the running action first",
later edits made no undo steps, and nothing could stop the group.

`execute` now rolls back every group a failed command opened, as
`group_rollback` does, restoring the workbook, selection, undo and
redo history to where each group began. Only a command that succeeds
keeps a group it opened, which is what a debugger's start needs.

`Session::abort_groups(doc)` and the menu-less command
`automate.stopAction` roll back the groups left open on a document,
for a debugger the person abandons or a caller that dropped its
token. The command is not undoable and works while a group is open,
and the Undo refusal now names it.
2026-10-24 00:49:43 -04:00
..
2026-10-22 03:05:18 +00:00
2026-10-22 03:05:39 +00:00
2026-10-22 03:05:39 +00:00
2026-10-22 03:05:39 +00:00
2026-10-22 03:05:18 +00:00
2026-10-22 03:05:18 +00:00
2026-10-15 08:31:40 +03:00
2026-10-22 03:05:39 +00:00
2026-10-23 10:11:33 -04:00