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. |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
base_request.py | ||
command_request.py | ||
completer_available_request.py | ||
completion_request.py | ||
event_notification.py | ||
omni_completion_request.py | ||
ycmd_keepalive.py |