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

UndoManager clears when entering text and there are deltas in the redo stack #229

Closed
bjnsn opened this issue Oct 17, 2014 · 1 comment
Closed

Comments

@bjnsn
Copy link

bjnsn commented Oct 17, 2014

To reproduce do the following waiting a second between each step to allow the undo manager to handle them separately:

type x
type y
-undo-
type z

An error is caught in the UndoManager record method which causes the undo & redo stacks to be cleared. This is because the 'oldDelta' is out of date when an undo is fired.

@jhchen
Copy link
Member

jhchen commented Oct 20, 2014

This should be fixed with the PR merge

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

No branches or pull requests

2 participants