public int OffsetToLineNumber(int offset)
 {
     return(ReadOnlyTextDocument.OffsetToLineNumber(offset));
 }