4 references to GetDistanceFromCaretCharacterHit
PresentationFramework (4)
src\Framework\System\Windows\Documents\FixedHighlight.cs (3)
151x1 = run.GetDistanceFromCaretCharacterHit(new CharacterHit(_gBeginOffset, 0)); 155x2 = run.GetDistanceFromCaretCharacterHit(new CharacterHit(chrct - 1, 1)); 159x2 = run.GetDistanceFromCaretCharacterHit(new CharacterHit(_gEndOffset, 0));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1001return run.GetDistanceFromCaretCharacterHit(new CharacterHit(firstChar, trailingLength));