private static @NotNull HighlighterIterator createHighlighterIteratorAtOffset(@NotNull Editor editor, int offset) {
    return editor.getHighlighter().createIterator(offset);
  }
private static @NotNull HighlighterIterator createHighlighterIteratorAtOffset(@NotNull Editor editor, int offset)