21 references to TextSelectionHelper
PresentationFramework (21)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
86return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 111TextSelectionHelper.GetPointerPage(startPointer, out startPage); 112start = TextSelectionHelper.GetPointForPointer(startPointer); 118TextSelectionHelper.GetPointerPage(endPointer, out endPage); 119end = TextSelectionHelper.GetPointForPointer(endPointer); 170return TextSelectionHelper.GetParent(selection); 186return TextSelectionHelper.GetAnchorPoint(selection);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
87return TextSelectionHelper.MergeSelections(anchor1, anchor2, out newAnchor); 101return TextSelectionHelper.GetSelectedNodes(selection); 113return TextSelectionHelper.GetParent(selection); 126return TextSelectionHelper.GetAnchorPoint(selection); 154TextSelectionHelper.CheckSelection(selection, out start, out end, out textSegments);
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
944List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 1131ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (5)
394Rect markerRect = TextSelectionHelper.GetAnchorRectangle(anchor); 443ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 444ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 840Rect current = TextSelectionHelper.GetAnchorRectangle(pointer); 871Rect next = TextSelectionHelper.GetAnchorRectangle(nextPointer);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
612TextSelectionHelper.GetPointerPage(selection.Start, out selStartPage); 613TextSelectionHelper.GetPointerPage(selection.End, out selEndPage);