Well, Edit Pad does a lot more than just edit text. It highlights
links, it allows one to call a browser and pass a url to, the Pro
version runs macros, etc.. And it would have been nice if it allowed
selected text to be colored whether using html or some other method.
And I think that coloring text is one aspect of editing it. In fact,
Wordpad does have the ability to color sections of text by my changing
the font, retyping the section, then changing the font back. And it
saves that info when the file is saved. I just checked. It uses an
.rtf extension, or maybe I had to choose that. So if it can do what
I want inconveniently, it would be nice if it did it conveniently.
I could use a word processor but those generally lack some of the
features of Edit Pad, I think., And I think they are bigger, take
longer to load, and use significant ram, but I'm not sure about these
things.
Well, that's no good.
But I tried doing that with Wordpad,
and it loses it with .txt, but with .rtf it works.
Right, that's all the expected behaviour. Thing is, normally one would
use a text editor (like NotePad or TextWrangler) for programming, where
the result, a program or script, needs to be plain text. Very often such
editors can do syntax colouring - you tell the editor what language
you're using (PHP, C, etc) and it knows how to highlight e.g. language
keywords in your choice of colour.
But that has nothing to do with you styling your choice of individual
words (e.g. bold, italic, particular font or text colour) and then being
able to save the styling information when the file is saved. To do that
requires a program (such as WordPad or TextEdit) which can save the
styling info as well. But such programs IME don't tend to have
programmer features such as syntax colouring.
As you discovered, to save the styling info requires that you save the
file, f'rinstance, in Rich Text Format (.rtf) or some other word
processor format. You can open your .rtf file in NotePad and see the
formatting info there. But you can't feed those files into a compiler or
script processor.
It depends on what you want to do. I'd find NotePad/WordPad/EditPad too
lacking in features to use either for programming or writing documents.
And one of the nice things about TextWrangler is that I can have 75
files open at once, pull the plug on my Mac, and on restart have TW open
itself and the same set of files available - complete with any unsaved
changes