comments for jfx.incubator.scene.control.richtext.RichTextArea
Oleksandr Yarmolenko
olexyarm at outlook.com
Tue Jun 17 20:21:31 UTC 2025
Hello,
I made a small home project and started to use jfx.incubator.scene.control.richtext.RichTextArea.
It looks OK, but I think a few features are missing in it.
1) Missing method setPromptText similar to method in javafx.scene.control.TextArea:
textArea.setPromptText("Enter Text here.");
2) It's not possible to set background color for selection, but only for whole paragraph.
This is because "background" attribute is missing in "Character Attributes" (https://github.com/andy-goryachev-oracle/Test/blob/main/doc/RichTextArea/RichTextArea_DataFormat.md)
3) It's not possible to set caret position. The richTextArea.caretPositionProperty() has method getValueI(), but does not have method setValue().
Please, let me know if I'm missing something.
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-discuss/attachments/20250617/e41bf53a/attachment.htm>
More information about the openjfx-discuss
mailing list