8 references to GetTextPosition
PresentationFramework (8)
MS\Internal\PtsHost\TextParaClient.cs (4)
2692
nextCaretPosition =
GetTextPosition
(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
2857
nextCaretPosition =
GetTextPosition
(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
2949
backspaceCaretPosition =
GetTextPosition
(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
3075
backspaceCaretPosition =
GetTextPosition
(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
MS\Internal\PtsHost\TextParaLineResult.cs (4)
109
return _owner.
GetTextPosition
(_dcp + _cchContent, LogicalDirection.Backward);
121
return _owner.
GetTextPosition
(_dcp + _cch - _cchEllipses, LogicalDirection.Forward);
173
_startPosition = _owner.
GetTextPosition
(_dcp, LogicalDirection.Forward);
188
_endPosition = _owner.
GetTextPosition
(_dcp + _cch, LogicalDirection.Backward);