Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redo and undo are wrong for insert operation records #5773

Open
zhugexiaogou666 opened this issue Dec 4, 2024 · 0 comments
Open

redo and undo are wrong for insert operation records #5773

zhugexiaogou666 opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@zhugexiaogou666
Copy link

zhugexiaogou666 commented Dec 4, 2024

Description
redo and undo are wrong for insert operation records. When Replace is selected, undo will also record the last insertion operation before insert, causing the last operation to be lost during undo.

Recording

In this case, I think "insert_text" 5, should not appear in the undo stack

Screen-2024-12-04-112316.mp4

In this case, I think the input box should not be cleared

Screen-2024-12-04-112701.mp4

Expectation
I hope that when I perform the insert operation, what undo records is the data when I selected the operation in the last step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant