I just found a sweet text editor that I am learning to love.
It is called Kate Editor. It is pretty smart, it does autocomplete of var names, which bugged me a little at first but as I got used to it, it now bothers me using one that doesn't do that.
The other great thing is it has a terminal window as part of the editor so when you are done working on a script you can execute it right there. Very enjoyable.
The only issue is it is for KDE so if you have a Gnome setup you have to add a bunch of libs to get it to work. Not that big a deal though.