I looked into it and undoing a single change is more work than I am willing to put in, sorry. Basically, to make it work well one has to both robustly reverse the change at the location in the file and then either re-compute the entire diff or update the diff. The first is very slow for large diffs and the second is fairly involved to get right, because all the line numbers for subsequent changes will have changed.
|