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

Feature: UndoManager prevents next change from merging after period of inactivity #21

Closed
JordanMartinez opened this issue Jun 22, 2017 · 1 comment

Comments

@JordanMartinez
Copy link
Contributor

Coming from FXMisc/RichTextFX#362, and its solution (FXMisc/RichTextFX#530)...

We only need to add a Duration parameter to the UndoManagerImpl's constructor, so that the UndoManager's subscription will also unsubscribe the Subscription returned from changeSource.successionEnds(delay).subscribe(ignore -> preventMerge());

@JordanMartinez
Copy link
Contributor Author

Closed by #22

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

1 participant