Bug 943612 - don't use GetPosAndText to convert offsets to DOM range, r=tbsaunde