To reproduce:
first issue
- insert text which end with newline
- press End button
caret moved to the next line, but it's expected that caret will move to end of the first line
second issue
- modify HelloTextArea.java with following code:
for (int i = 0; i < 1000; i++) {
textArea.insertText(textArea.getLength(), i + ". Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n");
}
- select all text by ctrl+a, copy by ctrl+c and paste 3 times by ctrl+v
- press End button
caret moves to the end of previous line, but it's expected that caret will move to end of the current line
first issue
- insert text which end with newline
- press End button
caret moved to the next line, but it's expected that caret will move to end of the first line
second issue
- modify HelloTextArea.java with following code:
for (int i = 0; i < 1000; i++) {
textArea.insertText(textArea.getLength(), i + ". Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n");
}
- select all text by ctrl+a, copy by ctrl+c and paste 3 times by ctrl+v
- press End button
caret moves to the end of previous line, but it's expected that caret will move to end of the current line
- relates to
-
JDK-8116002 Clicking on empty space on a line should move caret right behind the last character on the line
-
- Closed
-