code: public OffsetGroup startReferenceOffsetsForContentOffset(CharOffset contentOffset) {
      return characterRegions().get(regionIndexContainingContentOffset(contentOffset))
          .startOffsetGroupForPosition(contentOffset);
    }
docs: Get the earliest reference string offsets corresponding to the given content string offset.