Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-988

TextPane puts the caret and selection in the wrong place for empty lines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.1
    • wtk
    • None
    • All

    Description

      If you create an empty TextPane Document, then type Enter to create a new line, the caret remains on the first line. It only moves to the new line when you type another character. The same behavior happens when you try to click with the mouse on the empty line, and when calling "setSelection" to the empty line. All result in the selection being displayed on the line above.

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: