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

RichTextArea does not select the entire row

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx24
    • javafx
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      In standard text editors the entire row is selected when tripple-clicking a row with the mouse. By "entire row" I here mean that the eol characters are included in the selection. This is not the case for the new RichTextArea.
      Tripple-clicking and doing ctrl-X will leave and empty row behind and the cut text does not have the eol included.
      This is reported as a bug since this is standard behavior in text editors, including the standard TextArea component in JavaFX.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a window with a RichTextArea, tripple-click the line, not that there is a blank row left in the window. Paste the text into a different text editor. Note that there is no line break at the end.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      EOL characters are included in the tripple-click selection.
      ACTUAL -
      EOL characters are not included in the tripple-click selection.

            angorya Andy Goryachev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: