I am looking for a good, user-friendly text editor for programming C++ and Verilog. Which editor do you use? Why?
Usually, I use gedit. Comparing with SciTE, we can move tabs round, but we cannot fold and unfold some part of codes. And when we right-click on tab title, there is drop-down menu on gedit and SciTE (windows), but not on SciTE (Linux).
I use nedit (for unix, although from the looks of it, the editor is no longer maintained) and medit (aka mooedit) which is available for unix and windows.
They both are programming-friendly text editors, providing things like syntax highlighting, block indent, etc.
They are also intuitive to use, IMHO, as they support mouse operations and shift-arrows to highlight blocks of text. But they are not necessarily dedicated programming editors, so by default they don't do things like auto-completion (Intellisense, ctags, etc), although they can be set up to do some basic auto-formatting (nedit can be configured to read a ctags database though). But I hate the auto-completion stuff anyway, as usually there is a noticeable pause (sometimes seconds) while the editor goes off and searches the tag database (I work only a _very_ large project; the database would easily be gigabytes).
I tried nedit on Fedora 10 (GNOME), but it cannot fold and unfold the part of C++ codes that are in same scope, like SciTE. And I cannot move tabs as in gedit. Is it because of GNOME environment?
Code::Blocks, here. It's a full IDE, though, not just a text editor -- so if that's all you're looking for it's overkill. Though personally I can't imagine why anyone would want to code without an IDE (that's just me, though =P)