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