1 implementation of Range
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
432
TextAnchor IHighlightRange.
Range
18 references to Range
PresentationFramework (18)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (16)
81
ITextPointer start = highlightRange.
Range
.Start;
82
ITextPointer end = highlightRange.
Range
.End;
126
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
131
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
170
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
175
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
206
if (highlightRange.
Range
.Start.CompareTo(highlightRange.
Range
.End) == 0)
211
GetSpannedSegments(highlightRange.
Range
.Start, highlightRange.
Range
.End, out startSeg, out endSeg);
357
ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.
Range
.TextSegments;
1131
ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.
Range
.Start.CreatePointer(LogicalDirection.Forward));
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
679
TextAnchor anchor = ((IHighlightRange)HighlightAnchor).
Range
;
733
bool newState = range.
Range
.Contains(position);