48 instantiations of TextSegment
PresentationFramework (48)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
393rangeSegment = new TextSegment(highlightSegment.Segment.End, rangeSegment.End); 419rangeSegment = new TextSegment(highlightSegment.Segment.Start, rangeSegment.End); 562TextSegment[] rangeArray = new TextSegment[] { new TextSegment(start, end) }; 650_segment = new TextSegment(start, end); 1085_contentSegments.Add(new TextSegment(segmentStart, segmentEnd));
MS\Internal\Annotations\TextAnchor.cs (2)
56_segments.Add(new TextSegment(segment.Start, segment.End)); 693return new TextSegment(start, end);
MS\Internal\Documents\TextBoxView.cs (2)
989return new TextSegment(start, end, true); 1310segments.Add(new TextSegment(start, end, true));
MS\Internal\Documents\TextContainerHelper.cs (2)
94segments.Add(new TextSegment( 104segments.Add(new TextSegment(
MS\Internal\Documents\TextDocumentView.cs (4)
2339lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2346lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 2402lineRange = new TextSegment(blockUIContainer.ContentStart.CreatePointer(LogicalDirection.Forward), blockUIContainer.ContentEnd.CreatePointer(LogicalDirection.Backward)); 3293segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (2)
279return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 486segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
System\Windows\Controls\TextAdaptor.cs (1)
544visibleTextSegments.Add(new TextSegment(visibleStart, visibleEnd, true));
System\Windows\Controls\TextBlock.cs (1)
1876TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End);
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
765rangeArray.Add(new TextSegment(tpChildStart, tpChildEnd)); 785rangeArray.Add(new TextSegment(tpChildStart, tpChildEnd));
System\Windows\Documents\DocumentSequenceTextView.cs (2)
378return new TextSegment(tpStart, tpEnd, true); 569parentSegments.Add(new TextSegment(ptpStart, ptpEnd,true));
System\Windows\Documents\FixedTextView.cs (3)
597 return new TextSegment(position, position, true); 628return new TextSegment(begin, end, true); 732list.Add(new TextSegment(this.Start, this.End, true));
System\Windows\Documents\Highlights.cs (1)
367ranges.Add(new TextSegment(highlightRangeStart.CreateDynamicTextPointer(LogicalDirection.Forward), highlightTransitionPosition.CreateDynamicTextPointer(LogicalDirection.Forward)));
System\Windows\Documents\SpellerHighlightLayer.cs (1)
207list.Add(new TextSegment(start, end));
System\windows\Documents\TextEditorSelection.cs (2)
132lineRange = new TextSegment(lineStart, lineEnd); 138return new TextSegment(textRange.Start, textRange.End);
System\Windows\Documents\TextPointerBase.cs (2)
536return new TextSegment(thisPosition, thisPosition); 583return new TextSegment(wordStart, wordEnd);
System\Windows\Documents\TextRangeBase.cs (1)
1783thisRange._TextSegments.Add(new TextSegment(start, end));
System\Windows\Documents\TextRangeEditTables.cs (3)
1970return new TextSegment(startPosition, endPosition); 1974return new TextSegment(startPosition, startPosition); 2002return new TextSegment(start, end);
System\windows\Documents\TextSegment.cs (1)
148internal static readonly TextSegment Null = new TextSegment();
System\windows\Documents\TextSelection.cs (7)
912anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 913cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 969anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 970cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 988anchorWordRange = new TextSegment(anchorPosition, anchorPosition); 994cursorWordRange = new TextSegment(cursorPosition, cursorPosition); 1006cursorWordRange = new TextSegment(cursorPosition, cursorPosition);
System\windows\Documents\TextSelectionHighlightLayer.cs (4)
338rangeArray.Add(new TextSegment(invalidRangeRightStart, invalidRangeRightEnd)); 343rangeArray.Add(new TextSegment(invalidRangeLeftStart, invalidRangeLeftEnd)); 348rangeArray.Add(new TextSegment(invalidRangeLeftStart, invalidRangeLeftEnd)); 349rangeArray.Add(new TextSegment(invalidRangeRightStart, invalidRangeRightEnd));
267 references to TextSegment
PresentationFramework (267)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (5)
98IList<TextSegment> textSegments = CheckSelection(selection); 104foreach (TextSegment segment in textSegments) 303ReadOnlyCollection<TextSegment> ts = tv.TextSegments; 438private IList<TextSegment> CheckSelection(object selection) 442IList<TextSegment> textSegments = null;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
117IList<TextSegment> segments; 163IList<TextSegment> segments; 366internal static void CheckSelection(object selection, out ITextPointer start, out ITextPointer end, out IList<TextSegment> segments) 426internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
142IList<TextSegment> textSegments = null; 525private void GetTextSegmentValues(TextSegment segment, ITextPointer elementStart, ITextPointer elementEnd, out int startOffset, out int endOffset)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
242IList<TextSegment> segments = textView.TextSegments;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (17)
349ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.Range.TextSegments; 356IEnumerator<TextSegment> rangeEnumerator = rangeSegments.GetEnumerator(); 357TextSegment rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 388rangeSegment = next ? rangeEnumerator.Current : TextSegment.Null; 427rangeSegment = rangeEnumerator.MoveNext() ? rangeEnumerator.Current : TextSegment.Null; 562TextSegment[] rangeArray = new TextSegment[] { new TextSegment(start, end) }; 564_ranges = new ReadOnlyCollection<TextSegment>(rangeArray); 586private readonly ReadOnlyCollection<TextSegment> _ranges; 926private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 946private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1116foreach (TextSegment segment in _contentSegments) 1146internal TextSegment Segment 1206private TextSegment _segment; 1207private List<TextSegment> _contentSegments = new List<TextSegment>(1);
MS\Internal\Annotations\TextAnchor.cs (34)
54foreach (TextSegment segment in anchor.TextSegments) 146TextSegment newSegment = CreateNormalizedSegment(start, end); 191internal bool IsOverlapping(ICollection<TextSegment> textSegments) 197TextSegment ourSegment, theirSegment; 199IEnumerator<TextSegment> ourEnumerator = _segments.GetEnumerator(); 200IEnumerator<TextSegment> theirEnumerator = textSegments.GetEnumerator(); 262foreach (TextSegment segment in otherAnchor.TextSegments) 281internal static TextAnchor TrimToRelativeComplement(TextAnchor anchor, ICollection<TextSegment> textSegments) 288IEnumerator<TextSegment> enumerator = textSegments.GetEnumerator(); 291TextSegment current; 292TextSegment otherSegment = TextSegment.Null; 295Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 383internal static TextAnchor TrimToIntersectionWith(TextAnchor anchor, ICollection<TextSegment> textSegments) 389TextSegment currentSegment, otherSegment = TextSegment.Null; 392IEnumerator<TextSegment> enumerator = textSegments.GetEnumerator(); 397Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 561internal ReadOnlyCollection<TextSegment> TextSegments 593private static ICollection<TextSegment> SortTextSegments(ICollection<TextSegment> textSegments, bool excludeZeroLength) 597List<TextSegment> orderedList = new List<TextSegment>(textSegments.Count); 605TextSegment segment = orderedList[i]; 628private void InsertSegment(TextSegment newSegment) 654private static TextSegment CreateNormalizedSegment(ITextPointer start, ITextPointer end) 750private List<TextSegment> _segments = new List<TextSegment>(1); 767private class TextSegmentComparer : IComparer<TextSegment> 775public int Compare(TextSegment x, TextSegment y) 777if (x.Equals(TextSegment.Null)) 780if (y.Equals(TextSegment.Null)) 789if (y.Equals(TextSegment.Null))
MS\Internal\Documents\DocumentPageTextView.cs (5)
292internal override TextSegment GetLineRange(ITextPointer position) 301return TextSegment.Null; 527internal override ReadOnlyCollection<TextSegment> TextSegments 533return new ReadOnlyCollection<TextSegment>(new List<TextSegment>());
MS\Internal\Documents\DocumentViewerHelper.cs (1)
138foreach (TextSegment textSegment in masterPageTextView.TextSegments)
MS\Internal\Documents\HostedElements.cs (2)
34internal HostedElements(ReadOnlyCollection<TextSegment> textSegments) 214ReadOnlyCollection<TextSegment> _textSegments;
MS\Internal\Documents\MultiPageTextView.cs (10)
157ReadOnlyCollection<TextSegment> textSegments = _pageTextViews[i].TextSegments; 161TextSegment textSegment = textSegments[segmentIndex]; 282internal override TextSegment GetLineRange(ITextPointer position) 284TextSegment textSegment = TextSegment.Null; 683internal override ReadOnlyCollection<TextSegment> TextSegments 687List<TextSegment> textSegments = new List<TextSegment>(); 696return new ReadOnlyCollection<TextSegment>(textSegments); 872ReadOnlyCollection<TextSegment> segments;
MS\Internal\Documents\TextBoxView.cs (6)
979TextSegment ITextView.GetLineRange(ITextPointer position) 1300ReadOnlyCollection<TextSegment> ITextView.TextSegments 1304List<TextSegment> segments = new List<TextSegment>(1); 1312return new ReadOnlyCollection<TextSegment>(segments); 1487foreach (TextSegment segment in args.Ranges)
MS\Internal\Documents\TextContainerHelper.cs (6)
82internal ReadOnlyCollection<TextSegment> GetTextSegments() 84List<TextSegment> segments; 87segments = new List<TextSegment>(); 93segments = new List<TextSegment>(1); 101segments = new List<TextSegment>(_size); 111return new ReadOnlyCollection<TextSegment>(segments);
MS\Internal\Documents\TextDocumentView.cs (24)
149ReadOnlyCollection<TextSegment> textSegments = TextSegments; 152TextSegment textSegment = textSegments[segmentIndex]; 338internal override TextSegment GetLineRange(ITextPointer position) 463internal static bool Contains(ITextPointer position, ReadOnlyCollection<TextSegment> segments) 473foreach (TextSegment segment in segments) 587internal override ReadOnlyCollection<TextSegment> TextSegments 594return new ReadOnlyCollection<TextSegment>(new List<TextSegment>()); 599private ReadOnlyCollection<TextSegment> TextSegmentsCore 2272private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2276TextSegment lineRange = TextSegment.Null; 2307private TextSegment GetLineRangeFromPosition(ParagraphResult paragraph, ITextPointer position) 2309TextSegment lineRange = TextSegment.Null; 2411private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2421return TextSegment.Null; 3116ReadOnlyCollection<TextSegment> segments = this.TextSegmentsCore; 3273private ReadOnlyCollection<TextSegment> GetTextSegments() 3275ReadOnlyCollection<TextSegment> textSegments; 3292List<TextSegment> segments = new List<TextSegment>(1); 3294textSegments = new ReadOnlyCollection<TextSegment>(segments); 3569private ReadOnlyCollection<TextSegment> _segments;
MS\Internal\Documents\TextParagraphView.cs (5)
259internal override TextSegment GetLineRange(ITextPointer position) 481internal override ReadOnlyCollection<TextSegment> TextSegments 485List<TextSegment> segments = new List<TextSegment>(1); 487return new ReadOnlyCollection<TextSegment>(segments);
MS\Internal\Documents\TextViewBase.cs (4)
102internal abstract TextSegment GetLineRange(ITextPointer position); 319internal abstract ReadOnlyCollection<TextSegment> TextSegments { get; } 539TextSegment ITextView.GetLineRange(ITextPointer position) 667ReadOnlyCollection<TextSegment> ITextView.TextSegments
MS\Internal\PtsHost\BreakRecordTable.cs (4)
121ReadOnlyCollection<TextSegment> textSegments; 438ReadOnlyCollection<TextSegment> textSegments; 460foreach (TextSegment textSegment in textSegments) 510public ReadOnlyCollection<TextSegment> TextSegments;
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
378return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0)));
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
455return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0)));
System\Windows\Annotations\AnnotationHelper.cs (1)
638IList<TextSegment> textSegments = selection.TextSegments;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
791foreach (TextSegment textSegment in textView.TextSegments)
System\Windows\Controls\TextAdaptor.cs (4)
101ReadOnlyCollection<TextSegment> textSegments = textView.TextSegments; 136TextSegment lineRange = textView.GetLineRange(position); 521List<TextSegment> visibleTextSegments = new List<TextSegment>();
System\Windows\Controls\TextBlock.cs (7)
1871return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0))); 1875System.Collections.Generic.List<TextSegment> textSegmentsList = new System.Collections.Generic.List<TextSegment>(1); 1876TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 1878ReadOnlyCollection<TextSegment> textSegments = new ReadOnlyCollection<TextSegment>(textSegmentsList);
System\Windows\Controls\TextRangeAdaptor.cs (7)
604TextSegment lineRange = textView.GetLineRange(_start); 626TextSegment lineRange = textView.GetLineRange(_end); 678ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 695ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 787TextSegment lineRange = textView.GetLineRange(position); 916ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 1137ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments;
System\windows\Documents\CaretElement.cs (2)
464List<TextSegment> textSegments = _textEditor.Selection.TextSegments; 468TextSegment segment = textSegments[i];
System\Windows\Documents\CompositionAdorner.cs (1)
579TextSegment textSegment = _textView.GetLineRange(endLinePointer);
System\Windows\Documents\DocumentSequenceTextContainer.cs (9)
713Debug.Assert(args.Ranges.Count > 0 && ((TextSegment)args.Ranges[0]).Start.CompareTo(((TextSegment)args.Ranges[0]).End) < 0); 731List<TextSegment> rangeArray = new List<TextSegment>(4); 734TextSegment ts = (TextSegment)args.Ranges[idxScan]; 753lastBlock.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 770cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 797cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray));
System\Windows\Documents\DocumentSequenceTextView.cs (10)
358internal override TextSegment GetLineRange(ITextPointer position) 373TextSegment childTR = ChildTextView.GetLineRange(tpLine.ChildPointer.CreatePointer(position.LogicalDirection)); 383return TextSegment.Null; 554internal override ReadOnlyCollection<TextSegment> TextSegments 560ReadOnlyCollection<TextSegment> childSegments = ChildTextView.TextSegments; 563List<TextSegment> parentSegments = new List<TextSegment>(childSegments.Count); 564foreach (TextSegment segment in childSegments) 571_textSegments = new ReadOnlyCollection<TextSegment>(parentSegments); 634private ReadOnlyCollection<TextSegment> _textSegments;
System\Windows\Documents\FixedDocument.cs (4)
1044Debug.Assert(args.Ranges.Count > 0 && ((TextSegment)args.Ranges[0]).Start.CompareTo(((TextSegment)args.Ranges[0]).End) < 0); 1149TextSegment textSegment = (TextSegment)ranges[i];
System\Windows\Documents\FixedTextView.cs (6)
588internal override TextSegment GetLineRange(ITextPointer position) 725internal override ReadOnlyCollection<TextSegment> TextSegments 731List<TextSegment> list = new List<TextSegment>(1); 733_textSegments = new ReadOnlyCollection<TextSegment>(list); 1293private ReadOnlyCollection<TextSegment> _textSegments;
System\Windows\Documents\FlowDocument.cs (2)
1386TextSegment textSegment; 1422textSegment = (TextSegment)args.Ranges[i];
System\Windows\Documents\Highlights.cs (5)
338List<TextSegment> ranges; 347ranges = new List<TextSegment>(); 372Changed(this, new LayerHighlightChangedEventArgs(new ReadOnlyCollection<TextSegment>(ranges), highlightLayer.OwnerType)); 410internal LayerHighlightChangedEventArgs(ReadOnlyCollection<TextSegment> ranges, Type ownerType) 435private readonly ReadOnlyCollection<TextSegment> _ranges;
System\Windows\Documents\ITextRange.cs (2)
253List<TextSegment> TextSegments { get; } 381List<TextSegment> _TextSegments { get; set; }
System\Windows\Documents\ITextView.cs (2)
327TextSegment GetLineRange(ITextPointer position); 522ReadOnlyCollection<TextSegment> TextSegments { get; }
System\Windows\Documents\SpellerHighlightLayer.cs (4)
202List<TextSegment> list; 206list = new List<TextSegment>(1); 209_ranges = new ReadOnlyCollection<TextSegment>(list); 231private readonly ReadOnlyCollection<TextSegment> _ranges;
System\windows\Documents\TextEditorCharacters.cs (1)
153TextSegment autoWordRange = TextRangeBase.GetAutoWord(This.Selection);
System\windows\Documents\TextEditorDragDrop.cs (3)
475TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(this.TextView, dropPosition); 488TextSegment wordSegment = TextPointerBase.GetWordRange(dropPosition); 630TextSegment textSegment = selection._TextSegments[i];
System\windows\Documents\TextEditorSelection.cs (9)
118internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 120TextSegment lineRange = textView.GetLineRange(position); 806TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, startPositionInner); 857TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, endPositionInner); 1609TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, movingPositionInner); 1654TextSegment lineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, movingPositionInner); 1677TextSegment anchorLineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, This.Selection.AnchorPosition); 2371TextSegment lineRange = position.TextContainer.TextView.GetLineRange(position); 2380TextSegment lineRange = position.TextContainer.TextView.GetLineRange(position);
System\Windows\Documents\TextPointer.cs (1)
1609TextSegment lineRange = _tree.TextView.GetLineRange(this);
System\Windows\Documents\TextPointerBase.cs (4)
510internal static TextSegment GetWordRange(ITextPointer thisPosition) 524internal static TextSegment GetWordRange(ITextPointer thisPosition, LogicalDirection direction) 695TextSegment lineSegment = textView.GetLineRange(position); 839TextSegment lineRange = textView.GetLineRange(position);
System\Windows\Documents\TextRange.cs (4)
361List<TextSegment> ITextRange.TextSegments 516List<TextSegment> ITextRange._TextSegments 1632TextSegment textSegment = _textSegments[i]; 1894private List<TextSegment> _textSegments;
System\Windows\Documents\TextRangeBase.cs (11)
197TextSegment wordRange = TextPointerBase.GetWordRange(normalizedPosition); 205internal static TextSegment GetAutoWord(ITextRange thisRange) 207TextSegment autoWordRange = TextSegment.Null; 223autoWordRange = TextSegment.Null; 400TextSegment textSegment = thisRange._TextSegments[i]; 469TextSegment textSegment = thisRange._TextSegments[i]; 1223internal static List<TextSegment> GetTextSegments(ITextRange thisRange) 1271TextSegment textSegment; 1782thisRange._TextSegments = new List<TextSegment>(1); 1987List<TextSegment> textSegments;
System\Windows\Documents\TextRangeEditTables.cs (13)
282internal static List<TextSegment> BuildTableRange( 329private static List<TextSegment> BuildCellSelection(TableCell anchorCell, TableCell movingCell) 341List<TextSegment> cellRange = new List<TextSegment>(lastRowIndex - firstRowIndex + 1); 373private static List<TextSegment> BuildCrossTableSelection( 377List<TextSegment> textSegments = new List<TextSegment>(1); 403List<TextSegment> textSegments = range._TextSegments; 409TextSegment segment = textSegments[i]; 974List<TextSegment> textSegments = TextRangeEditTables.BuildTableRange( 1074private static void ClearTableCells(TextSegment textSegment) 1960private static TextSegment NewNormalizedTextSegment(TextPointer startPosition, TextPointer endPosition) 1984private static TextSegment NewNormalizedCellSegment(TableCell startCell, TableCell endCell)
System\Windows\Documents\TextRangeSerialization.cs (2)
344List<TextSegment> textSegments = range.TextSegments; 354TextSegment textSegment = textSegments[i];
System\windows\Documents\TextSegment.cs (1)
148internal static readonly TextSegment Null = new TextSegment();
System\windows\Documents\TextSelection.cs (6)
834TextSegment anchorWordRange; 835TextSegment cursorWordRange; 898private void IdentifyWordsOnSelectionEnds(ITextPointer anchorPosition, ITextPointer cursorPosition, bool forceWordSelection, out TextSegment anchorWordRange, out TextSegment cursorWordRange) 953TextSegment lastReenteredWordRange = TextPointerBase.GetWordRange(_reenterPosition); 1285TextSegment autoWordRange = TextRangeBase.GetAutoWord(this);
System\windows\Documents\TextSelectionHighlightLayer.cs (10)
77TextSegment textSegment; 86List<TextSegment> textSegments = _selection.TextSegments; 112List<TextSegment> textSegments = _selection.TextSegments; 113TextSegment textSegment; 331List<TextSegment> rangeArray; 337rangeArray = new List<TextSegment>(1); 342rangeArray = new List<TextSegment>(1); 347rangeArray = new List<TextSegment>(2); 352_ranges = new ReadOnlyCollection<TextSegment>(rangeArray); 374private readonly ReadOnlyCollection<TextSegment> _ranges;
System\Windows\Documents\TextStore.cs (1)
1087TextSegment lineRange = this.TextView.GetLineRange(navigator);