code: function (text, skipUnchangedTerm) {
        if (!this.dropdown) { this.initialize(); }
        text != null || (text = this.adapter.getTextFromHeadToCaret());
        var searchQuery = this._extractSearchQuery(text);
        if (searchQuery.length) {
          var term = searchQuery[1];
          // Ignore shift-key, ctrl-key and so on.
          if (skipUnchangedTerm && this._term === term && term !== "") { return; }
          this._term = term;
          this._search.apply(this, searchQuery);
        } else {
          this._term = null;
          this.dropdown.deactivate();
        }
      }
docs: Invoke textcomplete.