public bool Contains (TextSegment segment) { return new TextSegment (0, TextLength).Contains (segment); }