DocPad is free text-editing software designed for programmers and others who need to work with plain-text documents.
Like Windows' Notepad, you can open only one .txt or .xml file at a time - DocPad can't handle .doc or .rtf formats. Once you've edited or created a document, you can save it as a .txt, .ini, .log., or .bat file.
DocPad has many more features than Notepad, however. In addition to the standard search-and-replace, DocPad's Edit menu provides an "Alphabetize all paragraphs" function, bookmarks, a character map, a macro manager, a "Convert encoding" feature, and many other options that could be useful to programmers.