doc.fireInsertUpdate(this); } else if (getType() == DocumentEvent.EventType.REMOVE) { doc.fireRemoveUpdate(this); } else { doc.fireChangedUpdate(this);
doc.fireInsertUpdate(this); } else if (getType() == DocumentEvent.EventType.INSERT) { doc.fireRemoveUpdate(this); } else { doc.fireChangedUpdate(this);
fireRemoveUpdate(evt); if (atomicDepth == 0) { fireUndoableEditUpdate(new UndoableEditEvent(this, evt));
fireRemoveUpdate(evt); if (atomicDepth == 0 && !composedText) { fireUndoableEditUpdate(new UndoableEditEvent(this, evt));