Edits made by text formation filters are not registered in the undo manager. This causes things like newline completions to be ignored when undoing.
To Reproduce
Make an edit that causes a text formation filter to activate (eg, inserting a tab that should be replaced with spaces) and press command-Z. The edit will not be undone correctly.
Expected Behavior
Edits from TextFormation should be able to be undone.
Description
Edits made by text formation filters are not registered in the undo manager. This causes things like newline completions to be ignored when undoing.
To Reproduce
Make an edit that causes a text formation filter to activate (eg, inserting a tab that should be replaced with spaces) and press command-Z. The edit will not be undone correctly.
Expected Behavior
Edits from TextFormation should be able to be undone.
Version Information
CodeEditSourceEditor: 0.7.0 macOS: 14.3.1 Xcode: 15.2
Additional Context
No response
Screenshots
No response