After pressing Shift-Home/End new selection range includes previously selected range regardless of the initial anchor and caret positions.
To reproduce:
- set initial selection range to [anchor = 5, caret = 10]
- press Shift-Home
New selection range will be [10, 0].
To reproduce:
- set initial selection range to [anchor = 5, caret = 10]
- press Shift-Home
New selection range will be [10, 0].
- duplicates
-
JDK-8127783 [TextInput] wrong selection on shift+home.
-
- Closed
-
- relates to
-
JDK-8090145 [TextArea, Mac] wrong selection on shift+home and shift+end
-
- Open
-