@Override
      public void beforeCommandFinished(@NotNull CommandEvent event) {
        if (started && !isDisposed() && !isUndoOrRedoInProgress()) {
          LookupUtil.performGuardedChange(getEditor(), () -> afterChangedUpdate());
        }
      }
@Override
      public void beforeCommandFinished(@NotNull CommandEvent event)