1 implementation of Range
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
416
TextAnchor IHighlightRange.
Range
18 references to Range
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (16)
77
ITextPointer start = highlightRange.
Range
.Start;
78
ITextPointer end = highlightRange.
Range
.End;
121
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
126
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
165
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
170
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
200
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
205
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
349
ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.
Range
.TextSegments;
1110
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.
Range
.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
658
TextAnchor anchor = ((IHighlightRange)HighlightAnchor).
Range
;
711
bool newState = range.
Range
.Contains(position);