9 references to MapOffsetToPosition
PresentationFramework (9)
System\Windows\Documents\Speller.cs (7)
725wordBreakLeft = textMap.MapOffsetToPosition(leftBreakOffset); 726wordBreakRight = textMap.MapOffsetToPosition(rightBreakOffset); 1013ITextPointer timeoutPosition = data.TextMap.MapOffsetToPosition(timeOutOffset); 1053errorStart = textMap.MapOffsetToPosition(sTextRange.Start); 1054errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1176contentPosition = textMap.MapOffsetToPosition(contentOffset); 1199contextPosition = textMap.MapOffsetToPosition(contextOffset);
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
23/// <see cref="TextMap.MapOffsetToPosition(int)"/> sometimes fails with an assertion 190/// Within <see cref="ExpandToWordBreakAndContext"/>, <see cref="TextMap.MapOffsetToPosition"/>