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

Text does not clear selection on Text.setText(...)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0.2
    • fx2.0.2
    • javafx

      Text does not clear selection on Text.setText(...). Thus next selection range will be invalid for most text content changes. For example if all text is selected in a string "Hello", then we have a selection range from 0 to 5. But if that text is changed to "H" the range 0, 5 will cause an out of range exception.

            thor Thor Johannesson (Inactive)
            thor Thor Johannesson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: