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

End button abnormal behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0.2
    • fx2.0
    • javafx
    • win7 jdk6 b45

      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

            leifs Leif Samuelsson (Inactive)
            dkozorez Dmitry Kozorez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: