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)
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)
- relates to
-
JDK-8117430 ctrl/cmd+backspace in text field appends 'space'
-
- Resolved
-
-
JDK-8093920 Ctrl + Del deletes word and folowing number
-
- Closed
-
-
JDK-8094749 Not symmetrical behavior of ctrl+delete/backspace
-
- Closed
-
-
JDK-8097061 TextInput controls delete two words by CTRL+Backspace while only one is expected
-
- Closed
-
-
JDK-8123021 Ctrl + delete leaves a space before the next word
-
- Closed
-