1 implementation of Range
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
407
TextAnchor IHighlightRange.
Range
18 references to Range
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (16)
69
ITextPointer start = highlightRange.
Range
.Start;
70
ITextPointer end = highlightRange.
Range
.End;
113
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
118
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
157
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
162
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
192
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
197
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
341
ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.
Range
.TextSegments;
1099
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.
Range
.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
655
TextAnchor anchor = ((IHighlightRange)HighlightAnchor).
Range
;
708
bool newState = range.
Range
.Contains(position);