- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.UndoableEditListener
public class TranslationUndoManager
extends java.lang.Object
implements javax.swing.event.UndoableEditListener
Class for process undo/redo operations.
We can't use standard UndoManager because OmegaT changes text attributes,
which affects on standard UndoManager. Instead, TranslationUndoManager
remember only text changes. But changed text should be stored only on
UndoableEditEvent, because composed text chars(Japanese, Chinese) should be
stored as one char.