I use Epsilon programmer's editor (little E for PC, evolved from Emacs) which I learned at Carnegie Mellon almost 20 years ago. Notepad/Wordpad and application development environments with built-in editors have made it hard to explain to DBAs and to developers what a real programmer's editor is. Epsilon is more useful and flexible than specialized "data cleansing" tools as well. In my view, a person who doesn't have a tool that performs a regular expression search is not a **real** programmer.
Query Analyzer does its job; Epsilon does its job; they work well together. Code repository is a separate job, not to be confounded with editing.
_________________
"Look, those sheep have been shorn."
data analyst replies, "On the sides that we can see.."