Skip to content

🐞 Unexpected Undo behavior #203

@ryohajika

Description

@ryohajika

Description

When you edit text and undo changes you made, the undo(s) would be realized at some point but doesn't recover previous state and has some glitches in the text you didn't edit.

To Reproduce

  1. Open a file (.swift file in this case, and I realized the app doesn't support opening .xcodeproj file, which is not the point here though).
  2. Edit few lines like:

Screenshot 2023-04-15 at 7 14 31 PM

3. Perform `Cmd+Z` multiple times 4. You get something like this:

Screenshot 2023-04-15 at 7 14 52 PM

Expected Behavior

Bring back the previous state as it was originally.

Version Information

CodeEdit: 0.0.3-alpha-32
macOS: 13.3.1 (MBP "14 2021)
Xcode: 14.3 (I did install the app from the released installer, not from source)

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