2 implementations of TextSegments
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
1300
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
MS\Internal\Documents\TextViewBase.cs (1)
667
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
35 references to TextSegments
PresentationFramework (35)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
303
ReadOnlyCollection<TextSegment> ts = tv.
TextSegments
;
607
if ((textView.
TextSegments
== null) || (textView.
TextSegments
.Count == 0))
610
start = textView.
TextSegments
[0].Start.CreatePointer(LogicalDirection.Forward);
611
end = textView.
TextSegments
[textView.
TextSegments
.Count - 1].End.CreatePointer(LogicalDirection.Backward);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
314
if (textView != null && textView.IsValid && TextDocumentView.Contains(pointer, textView.
TextSegments
))
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
279
anchor = TextAnchor.TrimToIntersectionWith(anchor, textView.
TextSegments
);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
242
IList<TextSegment> segments = textView.
TextSegments
;
MS\Internal\Documents\DocumentPageTextView.cs (2)
525
/// <see cref="ITextView.
TextSegments
"/>
535
return _pageTextView.
TextSegments
;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
138
foreach (TextSegment textSegment in masterPageTextView.
TextSegments
)
MS\Internal\Documents\FlowDocumentPaginator.cs (2)
391
if (textView.
TextSegments
.Count == 0)
399
position = textView.
TextSegments
[0].Start;
MS\Internal\Documents\MultiPageTextView.cs (1)
681
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextBoxView.cs (1)
1298
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextDocumentView.cs (1)
585
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextParagraphView.cs (1)
479
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextViewBase.cs (2)
317
/// <see cref="ITextView.
TextSegments
"/>
665
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\PtsHost\BreakRecordTable.cs (1)
273
entry.TextSegments = textView.
TextSegments
;
MS\Internal\PtsHost\FlowDocumentPage.cs (5)
372
Invariant.Assert(_textView != null && ((ITextView)_textView).
TextSegments
.Count > 0);
373
return new HostedElements(((ITextView)_textView).
TextSegments
);
993
for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).
TextSegments
.Count; segmentIndex++)
995
if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].Start) >= 0 &&
996
((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].End) < 0)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
791
foreach (TextSegment textSegment in textView.
TextSegments
)
System\Windows\Controls\TextAdaptor.cs (2)
101
ReadOnlyCollection<TextSegment> textSegments = textView.
TextSegments
;
532
visibleTextSegments.AddRange(textView.
TextSegments
);
System\Windows\Controls\TextRangeAdaptor.cs (5)
678
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
695
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
916
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1137
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1186
textSegments = pageTextView.
TextSegments
;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
560
ReadOnlyCollection<TextSegment> childSegments = ChildTextView.
TextSegments
;