1 implementation of TextSegments
PresentationFramework (1)
System\Windows\Documents\TextRange.cs (1)
358
List<TextSegment> ITextRange.
TextSegments
21 references to TextSegments
PresentationFramework (21)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
438
textSegments = textRange.
TextSegments
;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
365
segments = textRange.
TextSegments
;
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
458
return fullAnchor.IsOverlapping(selection.
TextSegments
);
System\Windows\Annotations\AnnotationHelper.cs (2)
626
IList<TextSegment> textSegments = selection.
TextSegments
;
981
copy = TextAnchor.TrimToRelativeComplement(copy, textRange.
TextSegments
);
System\windows\Documents\CaretElement.cs (1)
461
List<TextSegment> textSegments = _textEditor.Selection.
TextSegments
;
System\windows\Documents\TextEditorDragDrop.cs (1)
611
for (int i = 0; i < selection.
TextSegments
.Count; i++)
System\Windows\Documents\TextRange.cs (1)
356
/// <see cref="ITextRange.
TextSegments
"/>
System\Windows\Documents\TextRangeEditTables.cs (3)
55
if (table != GetTableFromPosition((TextPointer)range.
TextSegments
[0].Start))
60
TableCell firstCell = GetTableCellFromPosition((TextPointer)range.
TextSegments
[0].Start);
67
TextPointer lastCellPointer = (TextPointer)range.
TextSegments
[0].End.GetNextInsertionPosition(LogicalDirection.Backward);
System\Windows\Documents\TextRangeSerialization.cs (1)
338
List<TextSegment> textSegments = range.
TextSegments
;
System\windows\Documents\TextSelection.cs (7)
424
movingPosition = thisSelection.
TextSegments
[0].End;
428
movingPosition = thisSelection.
TextSegments
[thisSelection.
TextSegments
.Count - 1].Start;
1897
else if (thisSelection.
TextSegments
.Count < 2)
1913
else if (movingPosition.CompareTo(thisSelection.
TextSegments
[0].End) == 0)
1917
else if (movingPosition.CompareTo(thisSelection.
TextSegments
[thisSelection.
TextSegments
.Count-1].Start) == 0)
System\windows\Documents\TextSelectionHighlightLayer.cs (2)
84
List<TextSegment> textSegments = _selection.
TextSegments
;
110
List<TextSegment> textSegments = _selection.
TextSegments
;