8 references to GetTextPosition
PresentationFramework (8)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
2929
nextCaretPosition =
GetTextPosition
(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
3099
nextCaretPosition =
GetTextPosition
(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
3195
backspaceCaretPosition =
GetTextPosition
(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
3325
backspaceCaretPosition =
GetTextPosition
(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
src\Framework\MS\Internal\PtsHost\TextParaLineResult.cs (4)
117
return _owner.
GetTextPosition
(_dcp + _cchContent, LogicalDirection.Backward);
129
return _owner.
GetTextPosition
(_dcp + _cch - _cchEllipses, LogicalDirection.Forward);
181
_startPosition = _owner.
GetTextPosition
(_dcp, LogicalDirection.Forward);
196
_endPosition = _owner.
GetTextPosition
(_dcp + _cch, LogicalDirection.Backward);