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