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