In order to avoid painting problems, calculate the Visible Positions for the ranges for highlights before we paint. This should make for more accurate painting.
<rdar://problem/58095923>
*** This bug has been marked as a duplicate of bug 206314 ***