See the TextEdit example on your hard disk. It does everything you want and it DOESN’T use NSDocument.
Thanks! I think this can get me started. I see that the relevant methods to begin with are in NSApplication’s delegate. This is something I hadn’t thought of. –LoganCollins