Commit e1687aa
committed
fix: remove groupsByEvent=false — causes registerUndo to silently fail
With groupsByEvent=false, NSUndoManager requires explicit beginUndoGrouping()
before registerUndo(). Without it, registerUndo throws an exception that AppKit
catches silently, causing all undo registration to be no-ops. This broke cell
edit commit — changes were recorded in the tracking arrays but never registered
with the undo manager.
The default groupsByEvent=true auto-creates groups per run loop pass, which is
correct for individual cell edits.1 parent 4a752bd commit e1687aa
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments