10 references to GetTextPointerFromCP
PresentationFramework (10)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
244
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, prevParagraph.ParagraphEndCharacterPosition, LogicalDirection.Forward);
MS\Internal\PtsHost\Line.cs (3)
198
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
199
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
602
position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, cp, LogicalDirection.Forward) as TextPointer;
MS\Internal\PtsHost\OptimalTextSource.cs (3)
146
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
147
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
185
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
MS\Internal\PtsHost\TextParaClient.cs (1)
662
return TextContainerHelper.
GetTextPointerFromCP
(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.ParagraphStartCharacterPosition, direction);
MS\Internal\PtsHost\TextParagraph.cs (2)
878
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);
902
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);