static @NotNull List<RangeHighlighter> getRangeHighlighters(int startOffset, int endOffset,
                                                              boolean hyperlinks,
                                                              boolean highlightings,
                                                              @NotNull Editor editor) {
    List<RangeHighlighter> result = new ArrayList<>();
    CommonProcessors.CollectProcessor<RangeHighlighter> processor = new CommonProcessors.CollectProcessor<>(result);
    processHyperlinksAndHighlightings(startOffset, endOffset, editor, hyperlinks, highlightings, processor);
    return result;
  }
static @NotNull List<RangeHighlighter> getRangeHighlighters(int startOffset, int endOffset,
                                                              boolean hyperlinks,
                                                              boolean highlightings,
                                                              @NotNull Editor editor)