If you’re looking for a nice web developer-focused text editor (and one that’s free!), check out Adobe Brackets. Adobe calls it:
A modern, open source text editor that understands web design.
We’ve been playing around with it and it’s pretty slick. Our previous go-to text editor for web design was Adobe Dreamweaver, but Brackets is looking pretty cool so far…
Checkout Lifehacker’s writeup on Brackets.