When you are going to paste some code, and you press CMD+C instead of CMD+V, thus replacing your clipboard with junk.