KDE's KWrite is also available on macOS if you don't like TextEdit, as well as Kate which is more of an alternative to Notepad++, practically an IDE. Kate is my personal favourite text editor.
Kate is fantastic. I rarely touch the built-in software out of a bad habit, but this one turned this around. One of the things it's missing from Notepad++ is the ability to just close the editor, open it again, and get back the workflow exactly where it was, but unsaved files as well. Kate can do it via sessions, but I need to create a session, and then after re-opening, tell it to yes, open that one session.
> the ability to just close the editor, open it again, and get back the workflow exactly where it was, but unsaved files as well
Most text editors I use on MacOS do that, TextEdit included.
I'm only posting because I had come to think that's the normal behaviour, not an extra... haven't been using non mac os desktops too much in the past years.
Definitely normal behavior, and also human, natural behavior. Things are where I left them last time.
I understand that in the 90s, disk space was a concern, and that disk operations were a big deal with moving parts, etc. But we really need to move on from this paradigm.
I just tested, and it looks like that "new" software does this on Linux, but "old" software didn't modernize. IntelliJ products, VSCodium does this, QOwnNote does it, Kate does it when I explicitly start a session (bit of a nonsense...), and no other software that I use does it: LibreOffice products, KWrite, Geany, GIMP etc all operate on the paradigm that when closing, it asks if it should save the draft document or no.
Hmm incidentally the office-like apple applications seem to want an explicit save. I just started Pages, wrote a sentence in a blank document and it asked me if i want to save or delete it on exit...
Ah but I suppose that only works if you keep the "Reopen windows" thing checked? I think shutting down without that is the same as just quitting the app, which asks if you want to save (can't quickly test this out as I have to work on this laptop).
I always keep that disabled, I absolutely hate that kind of behaviour.