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