1 implementation of Range
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
408TextAnchor IHighlightRange.Range
18 references to Range
PresentationFramework (18)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (16)
70ITextPointer start = highlightRange.Range.Start; 71ITextPointer end = highlightRange.Range.End; 114if (highlightRange.Range.Start.CompareTo(highlightRange.Range.End) == 0) 119GetSpannedSegments(highlightRange.Range.Start, highlightRange.Range.End, out startSeg, out endSeg); 158if (highlightRange.Range.Start.CompareTo(highlightRange.Range.End) == 0) 163GetSpannedSegments(highlightRange.Range.Start, highlightRange.Range.End, out startSeg, out endSeg); 193if (highlightRange.Range.Start.CompareTo(highlightRange.Range.End) == 0) 198GetSpannedSegments(highlightRange.Range.Start, highlightRange.Range.End, out startSeg, out endSeg); 342ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.Range.TextSegments; 1103ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
652TextAnchor anchor = ((IHighlightRange)HighlightAnchor).Range; 705bool newState = range.Range.Contains(position);