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