boolean showChoices() {
    if (!popup.isVisible() && editor.isValid()) {
      if (!popup.display(editor)) {
        return false;
      }

      ChoiceMatch cm = popup.selectBestMatch(editor.getContent());
      if (cm.content == null) {
        // select ANYTHING
        popup.selectBestMatch("");
      }
    }

    return true;
  }
boolean showChoices()