Can you word wrap in the code editor?

I added a code element to a page, and when in the editor the code text does not wrap but extends rather far. Given that the editor is rather small, it would be nice to have the lines wrap instead. Is there a way to do this?