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