9 references to MapOffsetToPosition
PresentationFramework (9)
System\Windows\Documents\Speller.cs (7)
729wordBreakLeft = textMap.MapOffsetToPosition(leftBreakOffset); 730wordBreakRight = textMap.MapOffsetToPosition(rightBreakOffset); 1017ITextPointer timeoutPosition = data.TextMap.MapOffsetToPosition(timeOutOffset); 1057errorStart = textMap.MapOffsetToPosition(sTextRange.Start); 1058errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1180contentPosition = textMap.MapOffsetToPosition(contentOffset); 1203contextPosition = textMap.MapOffsetToPosition(contextOffset);
System\Windows\Documents\TextMapOffsetErrorLogger.cs (2)
24/// <see cref="TextMap.MapOffsetToPosition(int)"/> sometimes fails with an assertion 191/// Within <see cref="ExpandToWordBreakAndContext"/>, <see cref="TextMap.MapOffsetToPosition"/>