1 implementation of TextSegments
PresentationFramework (1)
System\Windows\Documents\TextRange.cs (1)
361
List<TextSegment> ITextRange.
TextSegments
21 references to TextSegments
PresentationFramework (21)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
449
textSegments = textRange.
TextSegments
;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
374
segments = textRange.
TextSegments
;
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
466
return fullAnchor.IsOverlapping(selection.
TextSegments
);
System\Windows\Annotations\AnnotationHelper.cs (2)
638
IList<TextSegment> textSegments = selection.
TextSegments
;
993
copy = TextAnchor.TrimToRelativeComplement(copy, textRange.
TextSegments
);
System\windows\Documents\CaretElement.cs (1)
464
List<TextSegment> textSegments = _textEditor.Selection.
TextSegments
;
System\windows\Documents\TextEditorDragDrop.cs (1)
628
for (int i = 0; i < selection.
TextSegments
.Count; i++)
System\Windows\Documents\TextRange.cs (1)
359
/// <see cref="ITextRange.
TextSegments
"/>
System\Windows\Documents\TextRangeEditTables.cs (3)
57
if (table != GetTableFromPosition((TextPointer)range.
TextSegments
[0].Start))
62
TableCell firstCell = GetTableCellFromPosition((TextPointer)range.
TextSegments
[0].Start);
69
TextPointer lastCellPointer = (TextPointer)range.
TextSegments
[0].End.GetNextInsertionPosition(LogicalDirection.Backward);
System\Windows\Documents\TextRangeSerialization.cs (1)
344
List<TextSegment> textSegments = range.
TextSegments
;
System\windows\Documents\TextSelection.cs (7)
427
movingPosition = thisSelection.
TextSegments
[0].End;
431
movingPosition = thisSelection.
TextSegments
[thisSelection.
TextSegments
.Count - 1].Start;
1900
else if (thisSelection.
TextSegments
.Count < 2)
1916
else if (movingPosition.CompareTo(thisSelection.
TextSegments
[0].End) == 0)
1920
else if (movingPosition.CompareTo(thisSelection.
TextSegments
[thisSelection.
TextSegments
.Count-1].Start) == 0)
System\windows\Documents\TextSelectionHighlightLayer.cs (2)
86
List<TextSegment> textSegments = _selection.
TextSegments
;
112
List<TextSegment> textSegments = _selection.
TextSegments
;