10 references to GetTextPointerFromCP
PresentationFramework (10)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
254
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, prevParagraph.ParagraphEndCharacterPosition, LogicalDirection.Forward);
src\Framework\MS\Internal\PtsHost\Line.cs (3)
207
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
208
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
611
position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, cp, LogicalDirection.Forward) as TextPointer;
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (3)
157
ITextPointer startPosition = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara, LogicalDirection.Forward);
158
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
196
ITextPointer position = TextContainerHelper.
GetTextPointerFromCP
(_paraClient.Paragraph.StructuralCache.TextContainer, _cpPara + dcp, LogicalDirection.Forward);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (1)
758
return TextContainerHelper.
GetTextPointerFromCP
(Paragraph.StructuralCache.TextContainer, dcp + Paragraph.ParagraphStartCharacterPosition, direction);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
892
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);
916
ITextPointer textPointer = TextContainerHelper.
GetTextPointerFromCP
(StructuralCache.TextContainer, ParagraphStartCharacterPosition + dcpFirst, LogicalDirection.Forward);