@Override
    public InputMethodRequests getInputMethodRequests() {
      return new SpeedSearchInputMethodRequests() {
        @Override
        protected InputMethodRequests getDelegate() {
          if (searchFieldShown) {
            return mySearchField.getTextEditor().getInputMethodRequests();
          } else {
            return null;
          }
        }

        @Override
        protected void ensurePopupIsShown() {
          if (!searchFieldShown) {
            mySearchField.setVisible(true);
            searchFieldShown = true;
          }
        }
      };
    }
@Override
    public InputMethodRequests getInputMethodRequests()