Skip to content

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

@JordanMartinez

Description

@JordanMartinez

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions