for online expansion errors This avoids drawing the margin highlight when it isn't inside the region being repainted and it avoids even figuring anything out about it when there is currently no error range NOT for the release branch