As the question states, gedit has a few annoying bugs (cursor disappears, etc). I just need tabs, syntax highlighting, and line numbers. I will use it mostly for programming. I am using Lubuntu.
edit: Thanks for the many suggestions, I am trying sublime now but it doesn't natively support Fortran code, I forgot to mention that in my question, but however Sublime seems really nice. Which of these support fortran?