9 references to MapOffsetToPosition
PresentationFramework (9)
System\Windows\Documents\Speller.cs (7)
718wordBreakLeft = textMap.MapOffsetToPosition(leftBreakOffset); 719wordBreakRight = textMap.MapOffsetToPosition(rightBreakOffset); 1006ITextPointer timeoutPosition = data.TextMap.MapOffsetToPosition(timeOutOffset); 1046errorStart = textMap.MapOffsetToPosition(sTextRange.Start); 1047errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1169contentPosition = textMap.MapOffsetToPosition(contentOffset); 1192contextPosition = textMap.MapOffsetToPosition(contextOffset);
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
22/// <see cref="TextMap.MapOffsetToPosition(int)"/> sometimes fails with an assertion 189/// Within <see cref="ExpandToWordBreakAndContext"/>, <see cref="TextMap.MapOffsetToPosition"/>