Class UndoRedoSupport

java.lang.Object
org.languagetool.gui.UndoRedoSupport

class UndoRedoSupport extends Object
Provides Undo/Redo support and actions for JTextComponent
  • Field Details

  • Constructor Details

  • Method Details

    • startCompoundEdit

      void startCompoundEdit()
      Notify manager to start merging undoable edits. Calling startCompoundEdit when already in compound mode is an error and will throw a RuntimeException.
      Since:
      2.7
    • endCompoundEdit

      void endCompoundEdit()
      Notify manager to stop merging undoable edits. Calling endCompoundEdit when not in compound mode is an error and will throw a RuntimeException.
      Since:
      2.7