public boolean hideIfDisplayedForEditor(@NotNull Editor editor) {
    if (isDisposed() || !isVisible() || editor != myEditor) return false;
    hide();
    return true;
  }
public boolean hideIfDisplayedForEditor(@NotNull Editor editor)