“Sublime Text is a sophisticated text editor for code, markup, and prose. You’ll love the slick user interface, extraordinary features, and amazing performance.”
This is the best text editor in my opinion. It is great, I use it all the time, and it’s totally free! There are also a bunch of plugins that you can use to make Sublime Text work the way that you want it to. All you need to do is just search Google.