For reference:
https://github.com/mozilla/pdf.js/issues/15571#issuecomment-1278141781
this.#uiManager.setSelected(editor);
  }
  /**
   * Add or remove an editor the current selection.
   * @param {AnnotationEditor} editor
   */
  toggleSelected(editor) {
    this.#uiManager.toggleSelected(editor);
  }
  /**
   * Check if the editor is selected.
   * @param {AnnotationEditor} editor
   */
  isSelected(editor) {
    return this.#uiManager.isSelected(editor);
  }
  /**
   * Unselect an editor.
   * @param {AnnotationEditor} editor
   */
  unselect(editor) {
    this.#uiManager.unselect(editor);
  }
  /**
   * Pointerup callback.
   * @param {PointerEvent} event
   */
  pointerup(event) {