internal IFoldSegment CreateFoldSegment(int offset, int length, bool isFolded = false)
 {
     return(textEditorImpl.CreateFoldSegment(offset, length, isFolded));
 }