Only position misspellings when they are visible

This lifts code from the find-and-replace package to only
render misspellings when they are visible in the editor.
Prepare 0.31.0 release