Skip to content

🐞 Text Formation edits not registered with Undo Manager #233

@thecoolwinter

Description

@thecoolwinter

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🏁 Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions