21 references to TextSelectionHelper
PresentationFramework (21)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
71return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 96TextSelectionHelper.GetPointerPage(startPointer, out startPage); 97start = TextSelectionHelper.GetPointForPointer(startPointer); 103TextSelectionHelper.GetPointerPage(endPointer, out endPage); 104end = TextSelectionHelper.GetPointForPointer(endPointer); 154return TextSelectionHelper.GetParent(selection); 170return TextSelectionHelper.GetAnchorPoint(selection);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
69return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 83return TextSelectionHelper.GetSelectedNodes(selection); 95return TextSelectionHelper.GetParent(selection); 108return TextSelectionHelper.GetAnchorPoint(selection); 133TextSelectionHelper.CheckSelection(selection, out start, out end, out textSegments);
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
917List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 1099ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
372Rect markerRect = TextSelectionHelper.GetAnchorRectangle(anchor); 421ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 422ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 815Rect current = TextSelectionHelper.GetAnchorRectangle(pointer); 846Rect next = TextSelectionHelper.GetAnchorRectangle(nextPointer);
System\Windows\Annotations\AnnotationHelper.cs (2)
590TextSelectionHelper.GetPointerPage(selection.Start, out selStartPage); 591TextSelectionHelper.GetPointerPage(selection.End, out selEndPage);