If it's simple you're after, you might also consider Dave Dunfield's DDSIDE that he supplied with his Micro-C package.
I use "MS-DOS Editor" (edit.com) that comes right along with DOS. Always have, always will. I even use it to hand-code my websites, making sure to include its name in the "generator" tag of the HTML.
I still can't get used to Vim and Emacs. Too counter-intuitive for me - it's easy to get confused between command mode and edit mode. On Linux/Unix, my favorite editor is still Nano If there's a need to make complicated changes, I download the file to my computer, edit using a modern GUI editor, and upload it back
One of the good things about MS-DOS editor is that it handles both Windows and Linux line breaks just fine. Too bad Microsoft never updates it to support long file names and removes it in 64-bit of Windows.
Just in case: "The SemWare® Editor is now freeware." So one can download the 1997 DOS version 2.50e for free.I would suggest Semware Editor Pro for DOS. You can add menu's, execute commands etc. Not sure if the free trial version has all that stuff in it (macro compiler, etc that allows you to do all the good stuff).
https://www.semware.com/
Nice, thanks! Our family used its predecessor QEdit (or Q.EXE as I think of it) as our primary text editor when we first got a PC, but once we got MS-DOS 5 I think I just started using its EDIT because I was familiar with it from using QuickBASIC. I didn't use much of QEdit's power but it seems like it could do a lot for something that was only around 50KB in size!Just in case: "The SemWare® Editor is now freeware." So one can download the 1997 DOS version 2.50e for free.
Also available are (free) versions for Windows and Linux.
I used lots of other parts of PC Tools, but I don't know that I ever used its editor. Would I be correct in guessing that it wasn't very powerful, but it was easy to use?PC Tools is pretty good.