@Override
  public @NotNull Pair<String, String> getUndoActionNameAndDescription(FileEditor editor) {
    return getUndoOrRedoActionNameAndDescription(editor, true);
  }
@Override
  public @NotNull Pair<String, String> getUndoActionNameAndDescription(FileEditor editor)