RichTextArea RFE ContentChange

Jurgen Doll jurgen at ivoryemr.co.za
Fri Oct 31 10:15:19 UTC 2025


Hi Andy

This is a request to enhance ContentChange with an additional method: getPreviousSegments()

Currently ContentChange reports only where something has changed.
Using this one can determine the current state of the document, however
determining what has actually changed is impossible. So having this
extra information available would be helpful.

I think this can easily be done in StyledTextModel where the previous
segments can be obtained by extracting them from the freshly created
UndoableChange object when calling fire?ChangeEvent(...)

Thanks, regards
Jurgen


More information about the openjfx-discuss mailing list