@Override
  public boolean isNextUndoAskConfirmation(@NotNull FileEditor editor) {
    return isNextAskConfirmation(editor, true);
  }
@Override
  public boolean isNextUndoAskConfirmation(@NotNull FileEditor editor)