In my opinion, UltraEdit is what I consider the best text editor. However, opinions are like noses. Everyone has one, they are all different, and they all smell somewhat.
There are actually many quality text editors on the market. Much of it will depend on the OS you are using on your laptop and/or desktop.
TextMate is great on a Mac.
On Linux, the number one choice is Vim by many hard core programmers, but Eclipse is easier to pick up and learn.
On Windows, there are many, many choices. Notepad++ is quite capable and free.
Personally, I use UltraEdit and UEStudio on Windows, because I purchased a lifetime license a number of years ago when I was doing computer programming for a living. Haven't had the use for either in a while now, but I've got free updates for life because of my license.
If I were just getting started today, I'd look for a free editor to use while I learned the language to determine if I really wanted to do the programming. If I were to decide to make a living (again) doing the coding, then I would consider investing in a higher quality professional editor.
Another text editor for you to consider, which I haven't used because I haven't done any programming since it came out, is "Visual Studio Code". It's a trimmed down version of the editor included in Visual Studio, which is the best development environment on the market. It's FREE, which makes it a really great deal.
Visual Studio Code is also cross platform, and can work whether you're on Windows, Mac, or Linux. I'd probably start there.