10 references to GetTextPointerFromCP
PresentationFramework (10)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
249
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, prevParagraph.ParagraphEndCharacterPosition, LogicalDirection.Forward);
MS\Internal\PtsHost\Line.cs (3)
204
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
205
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
608
position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, cp, LogicalDirection.Forward) as TextPointer;
MS\Internal\PtsHost\OptimalTextSource.cs (3)
153
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
154
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
192
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
MS\Internal\PtsHost\TextParaClient.cs (1)
668
return TextContainerHelper.
GetTextPointerFromCP
(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.ParagraphStartCharacterPosition, direction);
MS\Internal\PtsHost\TextParagraph.cs (2)
885
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);
909
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);