Idea on how to undo what I did

Replacing the code with code in text editor