public TextMarkerService(TextDocument document) { markers = new TextSegmentCollection<TextMarker>(document); }