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

Expose TextInputControl undo(), redo(), canUndo(), canRedo() methods

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u40
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      TextInputControl provides undo/redo through keyboard shortcuts.
      However it would be good to expose these capabilities through the API :
      the application could use them when implementing its Undo/Redo menu items.

      boolean TextInputControl.canUndo()
      boolean TextInputControl.canRedo()
      void TextInputControl.undo()
      void TextInputControl.redo()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              eleponn Eric Le Ponner
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: