Insert code into a blank file. Alt-R > File > New. Also, when posting code in the forum, put it between [code[/b]] and [/code[b]] tags so it is easier to read.