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

need API to get caret position for TextField

XMLWordPrintable

      Now there is no API to get current caret position in TextField.
      When we do not have selected test we can use "selection" property for this, but when some text is selected
      we could use "start" or "end" of selection, but for some situations (user selects text by moving caret to the right) it is "start", and for others (user selects
      text moving the caret to left) it is "end".
      So we can not use selection property and need another way to determine caret position.

            rbair Richard Bair (Inactive)
            son Oleg Sukhodolsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: