@ApiStatus.Internal
  @TestOnly
  public @NotNull List<RangeHighlighter> getAllHyperlinks(int startOffset, int endOffset) {
    return getHyperlinks(startOffset, endOffset, myEditor);
  }
@ApiStatus.Internal
  @TestOnly
  public @NotNull List<RangeHighlighter> getAllHyperlinks(int startOffset, int endOffset)