End button abnormal behaviour

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • fx2.0.2
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      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

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

              Created:
              Updated:
              Resolved:
              Imported: