Measuring an inside slot with an electronic height gage