editor.updateHistory();
editor.updateTitle();
    public void undoableEditHappened(UndoableEditEvent e) {        super.undoableEditHappened(e);        updateActions();        editor.updateHistory();    }