I used `beforeChange` here so that the cached `LineHandle` objects (`liveDocument.errorLineHandles`) would still be valid positions that we could use to call `removeLineClass`. It looks like I was wrong that the handles would be invalid after a change. I can back this out and only rely on `statusChanged`.