1 implementation of TextSegments
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextRange.cs (1)
351List<TextSegment> ITextRange.TextSegments
21 references to TextSegments
PresentationFramework (21)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
460textSegments = textRange.TextSegments;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
384segments = textRange.TextSegments;
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
485return fullAnchor.IsOverlapping(selection.TextSegments);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
645IList<TextSegment> textSegments = selection.TextSegments; 1001copy = TextAnchor.TrimToRelativeComplement(copy, textRange.TextSegments);
src\Framework\System\windows\Documents\CaretElement.cs (1)
468List<TextSegment> textSegments = _textEditor.Selection.TextSegments;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
640for (int i = 0; i < selection.TextSegments.Count; i++)
src\Framework\System\Windows\Documents\TextRange.cs (1)
349/// <see cref="ITextRange.TextSegments"/>
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (3)
59if (table != GetTableFromPosition((TextPointer)range.TextSegments[0].Start)) 64TableCell firstCell = GetTableCellFromPosition((TextPointer)range.TextSegments[0].Start); 71TextPointer lastCellPointer = (TextPointer)range.TextSegments[0].End.GetNextInsertionPosition(LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
350List<TextSegment> textSegments = range.TextSegments;
src\Framework\System\windows\Documents\TextSelection.cs (7)
430movingPosition = thisSelection.TextSegments[0].End; 434movingPosition = thisSelection.TextSegments[thisSelection.TextSegments.Count - 1].Start; 1908else if (thisSelection.TextSegments.Count < 2) 1924else if (movingPosition.CompareTo(thisSelection.TextSegments[0].End) == 0) 1928else if (movingPosition.CompareTo(thisSelection.TextSegments[thisSelection.TextSegments.Count-1].Start) == 0)
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (2)
91List<TextSegment> textSegments = _selection.TextSegments; 118List<TextSegment> textSegments = _selection.TextSegments;