2 implementations of TextSegments
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
1257
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
MS\Internal\Documents\TextViewBase.cs (1)
664
ReadOnlyCollection<TextSegment> ITextView.
TextSegments
35 references to TextSegments
PresentationFramework (35)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
291
ReadOnlyCollection<TextSegment> ts = tv.
TextSegments
;
598
if ((textView.
TextSegments
== null) || (textView.
TextSegments
.Count == 0))
601
start = textView.
TextSegments
[0].Start.CreatePointer(LogicalDirection.Forward);
602
end = textView.
TextSegments
[textView.
TextSegments
.Count - 1].End.CreatePointer(LogicalDirection.Backward);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
304
if (textView != null && textView.IsValid && TextDocumentView.Contains(pointer, textView.
TextSegments
))
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
268
anchor = TextAnchor.TrimToIntersectionWith(anchor, textView.
TextSegments
);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
229
IList<TextSegment> segments = textView.
TextSegments
;
MS\Internal\Documents\DocumentPageTextView.cs (2)
522
/// <see cref="ITextView.
TextSegments
"/>
532
return _pageTextView.
TextSegments
;
MS\Internal\Documents\DocumentViewerHelper.cs (1)
135
foreach (TextSegment textSegment in masterPageTextView.
TextSegments
)
MS\Internal\Documents\FlowDocumentPaginator.cs (2)
386
if (textView.
TextSegments
.Count == 0)
394
position = textView.
TextSegments
[0].Start;
MS\Internal\Documents\MultiPageTextView.cs (1)
678
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextBoxView.cs (1)
1255
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextDocumentView.cs (1)
581
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextParagraphView.cs (1)
472
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\Documents\TextViewBase.cs (2)
314
/// <see cref="ITextView.
TextSegments
"/>
662
/// <see cref="ITextView.
TextSegments
"/>
MS\Internal\PtsHost\BreakRecordTable.cs (1)
271
TextSegments = textView.
TextSegments
,
MS\Internal\PtsHost\FlowDocumentPage.cs (5)
363
Invariant.Assert(_textView != null && ((ITextView)_textView).
TextSegments
.Count > 0);
364
return new HostedElements(((ITextView)_textView).
TextSegments
);
978
for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).
TextSegments
.Count; segmentIndex++)
980
if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].Start) >= 0 &&
981
((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).
TextSegments
[segmentIndex].End) < 0)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
771
foreach (TextSegment textSegment in textView.
TextSegments
)
System\Windows\Controls\TextAdaptor.cs (2)
97
ReadOnlyCollection<TextSegment> textSegments = textView.
TextSegments
;
522
visibleTextSegments.AddRange(textView.
TextSegments
);
System\Windows\Controls\TextRangeAdaptor.cs (5)
675
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
692
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
913
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1134
ReadOnlyCollection<TextSegment> textSegments = pageTextView.
TextSegments
;
1183
textSegments = pageTextView.
TextSegments
;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
545
ReadOnlyCollection<TextSegment> childSegments = ChildTextView.
TextSegments
;