7 references to MapOffsetToPosition
PresentationFramework (7)
src\Framework\System\Windows\Documents\Speller.cs (7)
796wordBreakLeft = textMap.MapOffsetToPosition(leftBreakOffset); 797wordBreakRight = textMap.MapOffsetToPosition(rightBreakOffset); 1087ITextPointer timeoutPosition = data.TextMap.MapOffsetToPosition(timeOutOffset); 1127errorStart = textMap.MapOffsetToPosition(sTextRange.Start); 1128errorEnd = textMap.MapOffsetToPosition(sTextRange.Start + sTextRange.Length); 1255contentPosition = textMap.MapOffsetToPosition(contentOffset); 1278contextPosition = textMap.MapOffsetToPosition(contextOffset);