21 references to TextSelectionHelper
PresentationFramework (21)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
72return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 97TextSelectionHelper.GetPointerPage(startPointer, out startPage); 98start = TextSelectionHelper.GetPointForPointer(startPointer); 104TextSelectionHelper.GetPointerPage(endPointer, out endPage); 105end = TextSelectionHelper.GetPointForPointer(endPointer); 155return TextSelectionHelper.GetParent(selection); 171return TextSelectionHelper.GetAnchorPoint(selection);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
70return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 84return TextSelectionHelper.GetSelectedNodes(selection); 96return TextSelectionHelper.GetParent(selection); 109return TextSelectionHelper.GetAnchorPoint(selection); 134TextSelectionHelper.CheckSelection(selection, out start, out end, out textSegments);
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
918List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 1100ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
373Rect markerRect = TextSelectionHelper.GetAnchorRectangle(anchor); 422ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 423ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 816Rect current = TextSelectionHelper.GetAnchorRectangle(pointer); 847Rect next = TextSelectionHelper.GetAnchorRectangle(nextPointer);
System\Windows\Annotations\AnnotationHelper.cs (2)
591TextSelectionHelper.GetPointerPage(selection.Start, out selStartPage); 592TextSelectionHelper.GetPointerPage(selection.End, out selEndPage);