When conducting a search and replace in the code view, it is possible to get caught in a loop in which the following message displays, and irrespective of what is done, the loop cannot be exited and the message continue to display.
Finished Searching the document. Would you like to start again from the top?
OK Cancel