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

Empty text if I undo continuously #490

Closed
shadychan opened this issue Apr 16, 2017 · 6 comments
Closed

Empty text if I undo continuously #490

shadychan opened this issue Apr 16, 2017 · 6 comments

Comments

@shadychan
Copy link

The UndoManager works well BUT the text will be empty in the end if I undo it continuously ...

I want it to be the initial text, how can I fix it ?

@ghost
Copy link

ghost commented Apr 16, 2017

Redo, single time?

@TomasMikula
Copy link
Member

Call getUndoManager().preventMerge() after initialization.

@JordanMartinez
Copy link
Contributor

Shouldn't it be getUndoManager().forgetHistory() after initialization?

@TomasMikula
Copy link
Member

TomasMikula commented Apr 17, 2017 via email

@shadychan
Copy link
Author

@TomasMikula @JordanMartinez it works, thanks

@JordanMartinez
Copy link
Contributor

Great. Closing

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

3 participants