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