@Override
  public int setOffsets(int @NotNull [] offsets, int index) {
    for (FoldingData data : myFoldingDatas) {
      data.startOffset = offsets[index++];
      data.endOffset = offsets[index++];
    }
    return index;
  }
@Override
  public int setOffsets(int @NotNull [] offsets, int index)