jsyntaxpane
public class CompoundUndoMan extends javax.swing.undo.UndoManager
Constructor and Description |
---|
CompoundUndoMan(SyntaxDocument doc) |
Modifier and Type | Method and Description |
---|---|
void |
startCombine()
Start to combine the next operations together.
|
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Whenever an UndoableEdit happens the edit will either be absorbed
by the current compound edit or a new compound edit will be started
|
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoOrRedo, undoTo
public CompoundUndoMan(SyntaxDocument doc)
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
undoableEditHappened
in class javax.swing.undo.UndoManager
public void startCombine()