Intentionally: the CodeArea model contains plain text, while in the RichTextArea the content depends on the model. It may not contain anything and be generated on the fly.
-andy From: openjfx-dev <[email protected]> on behalf of PavelTurk <[email protected]> Date: Thursday, May 1, 2025 at 05:40 To: [email protected] <[email protected]> Subject: RichTextArea: RichTextArea doesn't have a setText method, but CodeArea does I've just found out that RichTextArea doesn't have a setText method, but CodeArea does. Is this a mistake or was it done intentionally? Best regards, Pavel PS. Just don't think I spend my free time analyzing Javadoc. It's just that I once opened an issue in RTFX suggesting to add a setText method, and today, seeing this issue, I decided to mention that JavaFX RichTextArea has such a method. However, I was surprised not to find it.
