@Deprecated
  public static void addUndoRedoActions(@NotNull JTextComponent textComponent) {
    SwingUndoUtil.addUndoRedoActions(textComponent);
  }
@Deprecated
  public static void addUndoRedoActions(@NotNull JTextComponent textComponent)