fkaufman:
I am obviously missing something very simple.
Very probably, but nobody will know what.. A properly formatted text file is a legitimate way to get a programme into the IDE and any text can be inserted, just like in any other text editor. Your opening the material in a text editor proves it is kosher.
Use CTRL-C to copy, and then CTRL-V to paste.