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