-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
DelegatedUndoManager does not override
func beginUndoGrouping()
func endUndoGrouping()so calling
textView.undoManager?.beginUndoGrouping()here and here does not undo as group as expected.
To Reproduce
- Open
CodeEditSourceEditorExample.xcodeproj(to get access to multi-line actions - Select multiple lines
- Press
Tab,Shift Tab, orCMD+/to do a multi-line action - Click undo or
CMD-z
See that one line at a time is undone
Expected Behavior
The entire multi line action should be undone at once.
Version Information
CodeEditTextView: main
macOS: 15.2 (24C101)
Xcode: Version 16.1 (16B40)
Additional Context
No response
Screenshots
CEUndoManager_before.mov
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
🏁 Complete