9 references to MapOffsetToPosition
PresentationFramework (9)
System\Windows\Documents\Speller.cs (7)
722wordBreakLeft = textMap.MapOffsetToPosition(leftBreakOffset); 723wordBreakRight = textMap.MapOffsetToPosition(rightBreakOffset); 1010ITextPointer timeoutPosition = data.TextMap.MapOffsetToPosition(timeOutOffset); 1050errorStart = textMap.MapOffsetToPosition(sTextRange.Start); 1051errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1173contentPosition = textMap.MapOffsetToPosition(contentOffset); 1196contextPosition = 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"/>