48 instantiations of TextSegment
PresentationFramework (48)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
386rangeSegment = new TextSegment(highlightSegment.Segment.End, rangeSegment.End); 412rangeSegment = new TextSegment(highlightSegment.Segment.Start, rangeSegment.End); 555TextSegment[] rangeArray = new TextSegment[] { new TextSegment(start, end) }; 643_segment = new TextSegment(start, end); 1078_contentSegments.Add(new TextSegment(segmentStart, segmentEnd));
MS\Internal\Annotations\TextAnchor.cs (2)
53_segments.Add(new TextSegment(segment.Start, segment.End)); 690return new TextSegment(start, end);
MS\Internal\Documents\TextBoxView.cs (2)
987return new TextSegment(start, end, true); 1308segments.Add(new TextSegment(start, end, true));
MS\Internal\Documents\TextContainerHelper.cs (2)
91segments.Add(new TextSegment( 101segments.Add(new TextSegment(
MS\Internal\Documents\TextDocumentView.cs (4)
2337lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2344lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 2400lineRange = new TextSegment(blockUIContainer.ContentStart.CreatePointer(LogicalDirection.Forward), blockUIContainer.ContentEnd.CreatePointer(LogicalDirection.Backward)); 3291segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (2)
273return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 480segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
System\Windows\Controls\TextAdaptor.cs (1)
541visibleTextSegments.Add(new TextSegment(visibleStart, visibleEnd, true));
System\Windows\Controls\TextBlock.cs (1)
1866TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End);
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
757rangeArray.Add(new TextSegment(tpChildStart, tpChildEnd)); 777rangeArray.Add(new TextSegment(tpChildStart, tpChildEnd));
System\Windows\Documents\DocumentSequenceTextView.cs (2)
370return new TextSegment(tpStart, tpEnd, true); 561parentSegments.Add(new TextSegment(ptpStart, ptpEnd,true));
System\Windows\Documents\FixedTextView.cs (3)
589 return new TextSegment(position, position, true); 620return new TextSegment(begin, end, true); 724list.Add(new TextSegment(this.Start, this.End, true));
System\Windows\Documents\Highlights.cs (1)
366ranges.Add(new TextSegment(highlightRangeStart.CreateDynamicTextPointer(LogicalDirection.Forward), highlightTransitionPosition.CreateDynamicTextPointer(LogicalDirection.Forward)));
System\Windows\Documents\SpellerHighlightLayer.cs (1)
204list.Add(new TextSegment(start, end));
System\windows\Documents\TextEditorSelection.cs (2)
117lineRange = new TextSegment(lineStart, lineEnd); 123return new TextSegment(textRange.Start, textRange.End);
System\Windows\Documents\TextPointerBase.cs (2)
534return new TextSegment(thisPosition, thisPosition); 581return new TextSegment(wordStart, wordEnd);
System\Windows\Documents\TextRangeBase.cs (1)
1780thisRange._TextSegments.Add(new TextSegment(start, end));
System\Windows\Documents\TextRangeEditTables.cs (3)
1968return new TextSegment(startPosition, endPosition); 1972return new TextSegment(startPosition, startPosition); 2000return new TextSegment(start, end);
System\windows\Documents\TextSegment.cs (1)
147internal static readonly TextSegment Null = new TextSegment();
System\windows\Documents\TextSelection.cs (7)
909anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 910cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 966anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 967cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 985anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 991cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 1003cursorWordRange = new TextSegment(cursorPosition, cursorPosition);
System\windows\Documents\TextSelectionHighlightLayer.cs (4)
336rangeArray.Add(new TextSegment(invalidRangeRightStart, invalidRangeRightEnd)); 341rangeArray.Add(new TextSegment(invalidRangeLeftStart, invalidRangeLeftEnd)); 346rangeArray.Add(new TextSegment(invalidRangeLeftStart, invalidRangeLeftEnd)); 347rangeArray.Add(new TextSegment(invalidRangeRightStart, invalidRangeRightEnd));
267 references to TextSegment
PresentationFramework (267)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (5)
87IList<TextSegment> textSegments = CheckSelection(selection); 93foreach (TextSegment segment in textSegments) 292ReadOnlyCollection<TextSegment> ts = tv.TextSegments; 427private IList<TextSegment> CheckSelection(object selection) 431IList<TextSegment> textSegments = null;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
108IList<TextSegment> segments; 154IList<TextSegment> segments; 357internal static void CheckSelection(object selection, out ITextPointer start, out ITextPointer end, out IList<TextSegment> segments) 417internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
132IList<TextSegment> textSegments = null; 515private void GetTextSegmentValues(TextSegment segment, ITextPointer elementStart, ITextPointer elementEnd, out int startOffset, out int endOffset)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
230IList<TextSegment> segments = textView.TextSegments;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (17)
342ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.Range.TextSegments; 349IEnumerator<TextSegment> rangeEnumerator = rangeSegments.GetEnumerator(); 350TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 381rangeSegment = next ? rangeEnumerator.Current : TextSegment.Null; 420rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 555TextSegment[] rangeArray = new TextSegment[] { new TextSegment(start, end) }; 557_ranges = new ReadOnlyCollection<TextSegment>(rangeArray); 579private readonly ReadOnlyCollection<TextSegment> _ranges; 919private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 939private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1109foreach (TextSegment segment in _contentSegments) 1139internal TextSegment Segment 1199private TextSegment _segment; 1200private List<TextSegment> _contentSegments = new List<TextSegment>(1);
MS\Internal\Annotations\TextAnchor.cs (34)
51foreach (TextSegment segment in anchor.TextSegments) 143TextSegment newSegment = CreateNormalizedSegment(start, end); 188internal bool IsOverlapping(ICollection<TextSegment> textSegments) 194TextSegment ourSegment, theirSegment; 196IEnumerator<TextSegment> ourEnumerator = _segments.GetEnumerator(); 197IEnumerator<TextSegment> theirEnumerator = textSegments.GetEnumerator(); 259foreach (TextSegment segment in otherAnchor.TextSegments) 278internal static TextAnchor TrimToRelativeComplement(TextAnchor anchor, ICollection<TextSegment> textSegments) 285IEnumerator<TextSegment> enumerator = textSegments.GetEnumerator(); 288TextSegment current; 289TextSegment otherSegment = TextSegment.Null; 292Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 380internal static TextAnchor TrimToIntersectionWith(TextAnchor anchor, ICollection<TextSegment> textSegments) 386TextSegment currentSegment, otherSegment = TextSegment.Null; 389IEnumerator<TextSegment> enumerator = textSegments.GetEnumerator(); 394Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 558internal ReadOnlyCollection<TextSegment> TextSegments 590private static ICollection<TextSegment> SortTextSegments(ICollection<TextSegment> textSegments, bool excludeZeroLength) 594List<TextSegment> orderedList = new List<TextSegment>(textSegments.Count); 602TextSegment segment = orderedList[i]; 625private void InsertSegment(TextSegment newSegment) 651private static TextSegment CreateNormalizedSegment(ITextPointer start, ITextPointer end) 747private List<TextSegment> _segments = new List<TextSegment>(1); 764private class TextSegmentComparer : IComparer<TextSegment> 772public int Compare(TextSegment x, TextSegment y) 774if (x.Equals(TextSegment.Null)) 777if (y.Equals(TextSegment.Null)) 786if (y.Equals(TextSegment.Null))
MS\Internal\Documents\DocumentPageTextView.cs (5)
290internal override TextSegment GetLineRange(ITextPointer position) 299return TextSegment.Null; 525internal override ReadOnlyCollection<TextSegment> TextSegments 531return new ReadOnlyCollection<TextSegment>(new List<TextSegment>());
MS\Internal\Documents\DocumentViewerHelper.cs (1)
136foreach (TextSegment textSegment in masterPageTextView.TextSegments)
MS\Internal\Documents\HostedElements.cs (2)
30internal HostedElements(ReadOnlyCollection<TextSegment> textSegments) 210ReadOnlyCollection<TextSegment> _textSegments;
MS\Internal\Documents\MultiPageTextView.cs (10)
155ReadOnlyCollection<TextSegment> textSegments = _pageTextViews[i].TextSegments; 159TextSegment textSegment = textSegments[segmentIndex]; 280internal override TextSegment GetLineRange(ITextPointer position) 282TextSegment textSegment = TextSegment.Null; 681internal override ReadOnlyCollection<TextSegment> TextSegments 685List<TextSegment> textSegments = new List<TextSegment>(); 694return new ReadOnlyCollection<TextSegment>(textSegments); 870ReadOnlyCollection<TextSegment> segments;
MS\Internal\Documents\TextBoxView.cs (6)
977TextSegment ITextView.GetLineRange(ITextPointer position) 1298ReadOnlyCollection<TextSegment> ITextView.TextSegments 1302List<TextSegment> segments = new List<TextSegment>(1); 1310return new ReadOnlyCollection<TextSegment>(segments); 1485foreach (TextSegment segment in args.Ranges)
MS\Internal\Documents\TextContainerHelper.cs (6)
79internal ReadOnlyCollection<TextSegment> GetTextSegments() 81List<TextSegment> segments; 84segments = new List<TextSegment>(); 90segments = new List<TextSegment>(1); 98segments = new List<TextSegment>(_size); 108return new ReadOnlyCollection<TextSegment>(segments);
MS\Internal\Documents\TextDocumentView.cs (24)
147ReadOnlyCollection<TextSegment> textSegments = TextSegments; 150TextSegment textSegment = textSegments[segmentIndex]; 336internal override TextSegment GetLineRange(ITextPointer position) 461internal static bool Contains(ITextPointer position, ReadOnlyCollection<TextSegment> segments) 471foreach (TextSegment segment in segments) 585internal override ReadOnlyCollection<TextSegment> TextSegments 592return new ReadOnlyCollection<TextSegment>(new List<TextSegment>()); 597private ReadOnlyCollection<TextSegment> TextSegmentsCore 2270private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2274TextSegment lineRange = TextSegment.Null; 2305private TextSegment GetLineRangeFromPosition(ParagraphResult paragraph, ITextPointer position) 2307TextSegment lineRange = TextSegment.Null; 2409private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2419return TextSegment.Null; 3114ReadOnlyCollection<TextSegment> segments = this.TextSegmentsCore; 3271private ReadOnlyCollection<TextSegment> GetTextSegments() 3273ReadOnlyCollection<TextSegment> textSegments; 3290List<TextSegment> segments = new List<TextSegment>(1); 3292textSegments = new ReadOnlyCollection<TextSegment>(segments); 3567private ReadOnlyCollection<TextSegment> _segments;
MS\Internal\Documents\TextParagraphView.cs (5)
253internal override TextSegment GetLineRange(ITextPointer position) 475internal override ReadOnlyCollection<TextSegment> TextSegments 479List<TextSegment> segments = new List<TextSegment>(1); 481return new ReadOnlyCollection<TextSegment>(segments);
MS\Internal\Documents\TextViewBase.cs (4)
100internal abstract TextSegment GetLineRange(ITextPointer position); 317internal abstract ReadOnlyCollection<TextSegment> TextSegments { get; } 537TextSegment ITextView.GetLineRange(ITextPointer position) 665ReadOnlyCollection<TextSegment> ITextView.TextSegments
MS\Internal\PtsHost\BreakRecordTable.cs (4)
119ReadOnlyCollection<TextSegment> textSegments; 436ReadOnlyCollection<TextSegment> textSegments; 458foreach (TextSegment textSegment in textSegments) 508public ReadOnlyCollection<TextSegment> TextSegments;
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
370return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0)));
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
450return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0)));
System\Windows\Annotations\AnnotationHelper.cs (1)
626IList<TextSegment> textSegments = selection.TextSegments;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
786foreach (TextSegment textSegment in textView.TextSegments)
System\Windows\Controls\TextAdaptor.cs (4)
98ReadOnlyCollection<TextSegment> textSegments = textView.TextSegments; 133TextSegment lineRange = textView.GetLineRange(position); 518List<TextSegment> visibleTextSegments = new List<TextSegment>();
System\Windows\Controls\TextBlock.cs (7)
1861return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0))); 1865System.Collections.Generic.List<TextSegment> textSegmentsList = new System.Collections.Generic.List<TextSegment>(1); 1866TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 1868ReadOnlyCollection<TextSegment> textSegments = new ReadOnlyCollection<TextSegment>(textSegmentsList);
System\Windows\Controls\TextRangeAdaptor.cs (7)
602TextSegment lineRange = textView.GetLineRange(_start); 624TextSegment lineRange = textView.GetLineRange(_end); 676ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 693ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 785TextSegment lineRange = textView.GetLineRange(position); 914ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 1135ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments;
System\windows\Documents\CaretElement.cs (2)
461List<TextSegment> textSegments = _textEditor.Selection.TextSegments; 465TextSegment segment = textSegments[i];
System\Windows\Documents\CompositionAdorner.cs (1)
576TextSegment textSegment = _textView.GetLineRange(endLinePointer);
System\Windows\Documents\DocumentSequenceTextContainer.cs (9)
705Debug.Assert(args.Ranges.Count > 0 && ((TextSegment)args.Ranges[0]).Start.CompareTo(((TextSegment)args.Ranges[0]).End) < 0); 723List<TextSegment> rangeArray = new List<TextSegment>(4); 726TextSegment ts = (TextSegment)args.Ranges[idxScan]; 745lastBlock.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 762cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 789cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray));
System\Windows\Documents\DocumentSequenceTextView.cs (10)
350internal override TextSegment GetLineRange(ITextPointer position) 365TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.CreatePointer(position.LogicalDirection)); 375return TextSegment.Null; 546internal override ReadOnlyCollection<TextSegment> TextSegments 552ReadOnlyCollection<TextSegment> childSegments = ChildTextView.TextSegments; 555List<TextSegment> parentSegments = new List<TextSegment>(childSegments.Count); 556foreach (TextSegment segment in childSegments) 563_textSegments = new ReadOnlyCollection<TextSegment>(parentSegments); 626private ReadOnlyCollection<TextSegment> _textSegments;
System\Windows\Documents\FixedDocument.cs (4)
1033Debug.Assert(args.Ranges.Count > 0 && ((TextSegment)args.Ranges[0]).Start.CompareTo(((TextSegment)args.Ranges[0]).End) < 0); 1138TextSegment textSegment = (TextSegment)ranges[i];
System\Windows\Documents\FixedTextView.cs (6)
580internal override TextSegment GetLineRange(ITextPointer position) 717internal override ReadOnlyCollection<TextSegment> TextSegments 723List<TextSegment> list = new List<TextSegment>(1); 725_textSegments = new ReadOnlyCollection<TextSegment>(list); 1285private ReadOnlyCollection<TextSegment> _textSegments;
System\Windows\Documents\FlowDocument.cs (2)
1386TextSegment textSegment; 1422textSegment = (TextSegment)args.Ranges[i];
System\Windows\Documents\Highlights.cs (5)
337List<TextSegment> ranges; 346ranges = new List<TextSegment>(); 371Changed(this, new LayerHighlightChangedEventArgs(new ReadOnlyCollection<TextSegment>(ranges), highlightLayer.OwnerType)); 409internal LayerHighlightChangedEventArgs(ReadOnlyCollection<TextSegment> ranges, Type ownerType) 434private readonly ReadOnlyCollection<TextSegment> _ranges;
System\Windows\Documents\ITextRange.cs (2)
249List<TextSegment> TextSegments { get; } 377List<TextSegment> _TextSegments { get; set; }
System\Windows\Documents\ITextView.cs (2)
327TextSegment GetLineRange(ITextPointer position); 522ReadOnlyCollection<TextSegment> TextSegments { get; }
System\Windows\Documents\SpellerHighlightLayer.cs (4)
199List<TextSegment> list; 203list = new List<TextSegment>(1); 206_ranges = new ReadOnlyCollection<TextSegment>(list); 228private readonly ReadOnlyCollection<TextSegment> _ranges;
System\windows\Documents\TextEditorCharacters.cs (1)
137TextSegment autoWordRange = TextRangeBase.GetAutoWord(This.Selection);
System\windows\Documents\TextEditorDragDrop.cs (3)
458TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(this.TextView, dropPosition); 471TextSegment wordSegment = TextPointerBase.GetWordRange(dropPosition); 613TextSegment textSegment = selection._TextSegments[i];
System\windows\Documents\TextEditorSelection.cs (9)
103internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 105TextSegment lineRange = textView.GetLineRange(position); 791TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, startPositionInner); 842TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, endPositionInner); 1594TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, movingPositionInner); 1639TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, movingPositionInner); 1662TextSegment anchorLineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, This.Selection.AnchorPosition); 2356TextSegment lineRange = position.TextContainer.TextView.GetLineRange(position); 2365TextSegment lineRange = position.TextContainer.TextView.GetLineRange(position);
System\Windows\Documents\TextPointer.cs (1)
1604TextSegment lineRange = _tree.TextView.GetLineRange(this);
System\Windows\Documents\TextPointerBase.cs (4)
508internal static TextSegment GetWordRange(ITextPointer thisPosition) 522internal static TextSegment GetWordRange(ITextPointer thisPosition, LogicalDirection direction) 690TextSegment lineSegment = textView.GetLineRange(position); 834TextSegment lineRange = textView.GetLineRange(position);
System\Windows\Documents\TextRange.cs (4)
358List<TextSegment> ITextRange.TextSegments 513List<TextSegment> ITextRange._TextSegments 1629TextSegment textSegment = _textSegments[i]; 1891private List<TextSegment> _textSegments;
System\Windows\Documents\TextRangeBase.cs (11)
194TextSegment wordRange = TextPointerBase.GetWordRange(normalizedPosition); 202internal static TextSegment GetAutoWord(ITextRange thisRange) 204TextSegment autoWordRange = TextSegment.Null; 220autoWordRange = TextSegment.Null; 397TextSegment textSegment = thisRange._TextSegments[i]; 466TextSegment textSegment = thisRange._TextSegments[i]; 1220internal static List<TextSegment> GetTextSegments(ITextRange thisRange) 1268TextSegment textSegment; 1779thisRange._TextSegments = new List<TextSegment>(1); 1984List<TextSegment> textSegments;
System\Windows\Documents\TextRangeEditTables.cs (13)
280internal static List<TextSegment> BuildTableRange( 327private static List<TextSegment> BuildCellSelection(TableCell anchorCell, TableCell movingCell) 339List<TextSegment> cellRange = new List<TextSegment>(lastRowIndex - firstRowIndex + 1); 371private static List<TextSegment> BuildCrossTableSelection( 375List<TextSegment> textSegments = new List<TextSegment>(1); 401List<TextSegment> textSegments = range._TextSegments; 407TextSegment segment = textSegments[i]; 972List<TextSegment> textSegments = TextRangeEditTables.BuildTableRange( 1072private static void ClearTableCells(TextSegment textSegment) 1958private static TextSegment NewNormalizedTextSegment(TextPointer startPosition, TextPointer endPosition) 1982private static TextSegment NewNormalizedCellSegment(TableCell startCell, TableCell endCell)
System\Windows\Documents\TextRangeSerialization.cs (2)
338List<TextSegment> textSegments = range.TextSegments; 348TextSegment textSegment = textSegments[i];
System\windows\Documents\TextSegment.cs (1)
147internal static readonly TextSegment Null = new TextSegment();
System\windows\Documents\TextSelection.cs (6)
831TextSegment anchorWordRange; 832TextSegment cursorWordRange; 895private void IdentifyWordsOnSelectionEnds(ITextPointer anchorPosition, ITextPointer cursorPosition, bool forceWordSelection, out TextSegment anchorWordRange, out TextSegment cursorWordRange) 950TextSegment lastReenteredWordRange = TextPointerBase.GetWordRange(_reenterPosition); 1282TextSegment autoWordRange = TextRangeBase.GetAutoWord(this);
System\windows\Documents\TextSelectionHighlightLayer.cs (10)
75TextSegment textSegment; 84List<TextSegment> textSegments = _selection.TextSegments; 110List<TextSegment> textSegments = _selection.TextSegments; 111TextSegment textSegment; 329List<TextSegment> rangeArray; 335rangeArray = new List<TextSegment>(1); 340rangeArray = new List<TextSegment>(1); 345rangeArray = new List<TextSegment>(2); 350_ranges = new ReadOnlyCollection<TextSegment>(rangeArray); 372private readonly ReadOnlyCollection<TextSegment> _ranges;
System\Windows\Documents\TextStore.cs (1)
1076TextSegment lineRange = this.TextView.GetLineRange(navigator);