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