There are many fine free text/code editors out there. I recommend “Crimson Editor,” which is a richly featured tool to view code and edit it.
Update: after some additional research, I also recommend PSPad.
With this Windows tweak, you can use your new favorite tool as the viewer for “View Source” in Internet explorer.