@NotNull
  private static List<CharSequence> getLineContents(@NotNull CharSequence text) {
    LineOffsets lineOffsets = LineOffsetsUtil.create(text);
    return getLineContents(0, lineOffsets.getLineCount(), text, lineOffsets);
  }
@NotNull
  private static List<CharSequence> getLineContents(@NotNull CharSequence text)