2 implementations of TextSegments
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
1300
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
MS\Internal\Documents\TextViewBase.cs (1)
665
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
35 references to TextSegments
PresentationFramework (35)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
292
ReadOnlyCollection<TextSegment> ts = tv.
TextSegments
;
596
if ((textView.
TextSegments
== null) || (textView.
TextSegments
.Count == 0))
599
start = textView.
TextSegments
[0].Start.CreatePointer(LogicalDirection.Forward);
600
end = textView.
TextSegments
[textView.
TextSegments
.Count - 1].End.CreatePointer(LogicalDirection.Backward);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
305
if (textView != null && textView.IsValid && TextDocumentView.Contains(pointer, textView.
TextSegments
))
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
269
anchor = TextAnchor.TrimToIntersectionWith(anchor, textView.
TextSegments
);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
230
IList<TextSegment> segments = textView.
TextSegments
;
MS\Internal\Documents\DocumentPageTextView.cs (2)
523
/// <see cref="ITextView.
TextSegments
"/>
533
return _pageTextView.
TextSegments
;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
136
foreach (TextSegment textSegment in masterPageTextView.
TextSegments
)
MS\Internal\Documents\FlowDocumentPaginator.cs (2)
387
if (textView.
TextSegments
.Count == 0)
395
position = textView.
TextSegments
[0].Start;
MS\Internal\Documents\MultiPageTextView.cs (1)
679
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextBoxView.cs (1)
1298
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextDocumentView.cs (1)
582
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextParagraphView.cs (1)
473
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextViewBase.cs (2)
315
/// <see cref="ITextView.
TextSegments
"/>
663
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\PtsHost\BreakRecordTable.cs (1)
272
TextSegments = textView.
TextSegments
,
MS\Internal\PtsHost\FlowDocumentPage.cs (5)
364
Invariant.Assert(_textView != null && ((ITextView)_textView).
TextSegments
.Count > 0);
365
return new HostedElements(((ITextView)_textView).
TextSegments
);
985
for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).
TextSegments
.Count; segmentIndex++)
987
if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].Start) >= 0 &&
988
((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].End) < 0)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
775
foreach (TextSegment textSegment in textView.
TextSegments
)
System\Windows\Controls\TextAdaptor.cs (2)
98
ReadOnlyCollection<TextSegment> textSegments = textView.
TextSegments
;
529
visibleTextSegments.AddRange(textView.
TextSegments
);
System\Windows\Controls\TextRangeAdaptor.cs (5)
676
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
693
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
914
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1135
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1184
textSegments = pageTextView.
TextSegments
;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
552
ReadOnlyCollection<TextSegment> childSegments = ChildTextView.
TextSegments
;