Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8371069

RichTextArea: caret with inline node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx24
    • javafx
    • None

      User feedback:

      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 ?

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: