EditPlus supports syntax highlighting, auto-completion, code folding, auto indenting, search-replace which can handle regular expressions, macro recording and more things like that, also it supprts DDE so its possible to interact with mIRC as well... been using it for many years for most of my code/text editing...
Though it's not freeware, but i don't think that $30 is asked too much for it...