1 implementation of Range
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
408
TextAnchor IHighlightRange.
Range
18 references to Range
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (16)
70
ITextPointer start = highlightRange.
Range
.Start;
71
ITextPointer end = highlightRange.
Range
.End;
114
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
119
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
158
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
163
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
193
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
198
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
342
ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.
Range
.TextSegments;
1103
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.
Range
.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
652
TextAnchor anchor = ((IHighlightRange)HighlightAnchor).
Range
;
705
bool newState = range.
Range
.Contains(position);