First of all, great extension! The statement highlighting and annotation of stdout-text work like a charm!
To make better use of the annotated stdout-text when editing I tried to keep track of document-changes and adjust the position of the annotations instead of deleting them. (#15) The PR is not tested properly but seems to work fine with the examples that I tried.
Is this a feature you'd consider implementing?