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