24f1f9c900
We simply apply the changes to each file in turn. The existing replacement logic is unchanged, except that it now no longer implicitly assumes we are talking about the current buffer. If a buffer is not visible for the requested file name, we open it in a horizontal split, make the edits, then hide the window. Because this can cause UI flickering, and leave hidden, modified buffers around, we issue a warning to the user stating the number of files for which we are going to do this. We pop up the quickfix list at the end of applying the edits to allow the user to see what we changed. If the user opts to abort due to, say, the file being open in another window, we simply raise an error and give up, as undoing the changes is too complex to do programatically, but trivial to do manually in such a rare case. |
||
---|---|---|
.. | ||
testdata | ||
__init__.py | ||
base_test.py | ||
event_notification_test.py | ||
omni_completion_request_tests.py | ||
paths_test.py | ||
postcomplete_tests.py | ||
syntax_parse_test.py | ||
vimsupport_test.py |