RFR: 8366201: RichTextArea: remove allowUndo parameter [v2]

Kevin Rushforth kcr at openjdk.org
Thu Oct 30 22:26:23 UTC 2025


On Tue, 28 Oct 2025 22:12:52 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   undo redo enabled logic
>
> modules/jfx.incubator.richtext/src/main/java/jfx/incubator/scene/control/richtext/RichTextArea.java line 1865:
> 
>> 1863: 
>> 1864:     /**
>> 1865:      * Replaces the specified range with the new input.  This method creates an undo entry.
> 
> It creates an undo/redo entry if the undoRedo attribute is `true`.

Still pending.

Another place to add `if {@link #isUndoRedoEnabled()} returns {@code true}`

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1941#discussion_r2479660740


More information about the openjfx-dev mailing list