21 references to TextSelectionHelper
PresentationFramework (21)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
83return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 108TextSelectionHelper.GetPointerPage(startPointer, out startPage); 109start = TextSelectionHelper.GetPointForPointer(startPointer); 115TextSelectionHelper.GetPointerPage(endPointer, out endPage); 116end = TextSelectionHelper.GetPointForPointer(endPointer); 166return TextSelectionHelper.GetParent(selection); 182return TextSelectionHelper.GetAnchorPoint(selection);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
80return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 94return TextSelectionHelper.GetSelectedNodes(selection); 106return TextSelectionHelper.GetParent(selection); 119return TextSelectionHelper.GetAnchorPoint(selection); 144TextSelectionHelper.CheckSelection(selection, out start, out end, out textSegments);
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
928List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 1110ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
379Rect markerRect = TextSelectionHelper.GetAnchorRectangle(anchor); 428ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 429ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 818Rect current = TextSelectionHelper.GetAnchorRectangle(pointer); 849Rect next = TextSelectionHelper.GetAnchorRectangle(nextPointer);
System\Windows\Annotations\AnnotationHelper.cs (2)
605TextSelectionHelper.GetPointerPage(selection.Start, out selStartPage); 606TextSelectionHelper.GetPointerPage(selection.End, out selEndPage);