Validation of a text file: how to best show the inline editor?

I'm making an app that validates a text file and then shows the errors associated with it. Currently all errors are listed as rows.

I'd like to make it easy to correct the errors in the text file so the validate-repair-validate cycle is fast.

What's the best way to go about it?

Here is my current attempt at it:

enter image description here