@Override
    public void update(@NotNull final AnActionEvent e) {
      boolean enabled = myMultiline || !isUpDownKey(e) || canMoveInEditor(myNext);
      //enabled &= getModel().hasHistory(myNext);
      e.getPresentation().setEnabled(enabled);
      e.getPresentation().setVisible(false);
    }
@Override
    public void update(@NotNull final AnActionEvent e)