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