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

“Cut” undo/redo bug #8

Closed
kizu opened this issue Dec 11, 2011 · 2 comments
Closed

“Cut” undo/redo bug #8

kizu opened this issue Dec 11, 2011 · 2 comments
Assignees

Comments

@kizu
Copy link
Collaborator

kizu commented Dec 11, 2011

It seems that the cut currently is not in undo/redo control: If you'd cut something (CMD+X), then press Undo, then you'd see that it would revert the action that was before the cut.

The same problem can be seen when you'd drag'n'drop some text in code: you can do this by selecting something and then hold the click and then move the text in the code. The cut in such case would undo the previous action.

Also, the Redo in such cases can be a bit strange if there were actions after the cut&paste.

@LeaVerou
Copy link
Owner

Yeah, the undo/redo stack needed to be recreated (as in every similar app) and I forgot an "oncut" event handler. Thanks!

@LeaVerou
Copy link
Owner

Should be fixed now, thanks!

@ghost ghost assigned LeaVerou Dec 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants