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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u40
    • javafx

      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()

            angorya Andy Goryachev
            eleponn Eric Le Ponner
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Imported: