RichTextArea caret & inline node issue
Jurgen Doll
jurgen at ivoryemr.co.za
Fri Oct 31 12:29:49 UTC 2025
Hi Andy
When a paragraph ends with an INLINE_NODE and one tries to go to the end
of the line/paragraph (either via API or K/B end) then the caret moves
to the starting position of the node and not after it.
If one presses a key at this point then the typed character appears
correctly after the node and the caret adjusts correctly.
If I'm not mistaken, from what I can tell by stepping through the code
at runtime, it looks like everything works fine until
TextCell.getCaretShape:189 where TextFlow.caretShape seems to return the
wrong position ?
If you want a demo of the problem see either of the two demo's on https://github.com/Jugen/RichTextAreaTest
Thanks, regards
Jurgen
More information about the openjfx-discuss
mailing list