RunUtils::CalculateTextHitPoint

Calculate the correct hit-point for the given index, based on the given range and text direction