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

[Text,TextFlow] Selection fill fails in subsequent Text nodes in TextFlow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8, 9
    • javafx
    • Fix Understood

      When setting selection ranges on Text elements of a TextFlow, the selectionFill color (normally white) is only painted in the first Text node.

      The Text nodes share a TextLayout internally, and the indices seem to get mapped wrong across the layout runs.

            prr Philip Race
            leifs Leif Samuelsson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: