Notepad++ is pretty great for Windows.
On the Mac, BBEdit (paid) and TextWrangler (free, more or less a light version of BBEdit) are both fantastic. Some people like TextMate too.
On the Mac, BBEdit (paid) and TextWrangler (free, more or less a light version of BBEdit) are both fantastic. Some people like TextMate too.