private static void registerUndoableAction(@NotNull UndoManagerImpl undoManager, @NotNull DocumentEvent e) {
    undoManager.undoableActionPerformed(new EditorChangeAction(e));
  }
private static void registerUndoableAction(@NotNull UndoManagerImpl undoManager, @NotNull DocumentEvent e)