On Windows have not tested this on Mac......
Then Ctrl V in Popup search window will destroy your code in random place.

Usually it will paste somewhere in the code window where you are instead of into the window, but sometimes it changes method name.
Now to make it a bit worse then your first instinct might be to press ctrl Z after it but if you do that then your project goes really bad unless you remember exactly what you been doing for the past hour. Since the ctrl Z will often rename method or class that you made a long while ago to its its default creation name . The the method or the class would not even be on the screen and still get renamed.