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