public IEnumerable <IFoldSegment> GetFoldingsContaining(int offset)
 {
     return(textEditorImpl.GetFoldingsContaining(offset));
 }