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

Incorrect work ctrl+backspace and ctrl+delete in TextArea

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      2.2 b20

      Description

      Run attached code, and you will see pic1.png

      In upper TextArea, click to the begin of text, then press ctrl+delete. (pic2.png)
      You will see, that we have delete not only one word "line", but "line 5".

      Then click to the end of text, then press ctrl+backspace. (pic3.png)
      And again, we have delete not only one word "5", but "line 5".

      More interesting ctrl+delete/backspace works in downer TextArea:

      ctrl+backspace in the end of text delete very big part of string by strange rule.(pic4.png)

      ctrl+delete in the begin of text delete strange string too(pic5.png)

        Attachments

        1. Bug.java
          2 kB
        2. pic1.png
          pic1.png
          32 kB
        3. pic2.png
          pic2.png
          28 kB
        4. pic3.png
          pic3.png
          28 kB
        5. pic4.png
          pic4.png
          26 kB
        6. pic5.png
          pic5.png
          26 kB
        7. rt-24400.00.zip
          176 kB
        8. rt-24400.01.zip
          178 kB

          Issue Links

            Activity

              People

              • Assignee:
                rbair Richard Bair
                Reporter:
                aglushch Andrew Glushchenko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: