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