Simple RTF Edit question
Simple RTF Edit question
- Subject: Simple RTF Edit question
- From: <email@hidden>
- Date: Tue, 29 Jan 2002 23:32:51 -0500
Hi, I've been following along the O'Reilly Learning Cocoa book and I noticed
what appears to be a bug in the Simple RTF Edit app in Chapter 11. When I
save a document, it stops tracking whether or not the document was dirtied.
For example, I launch the application, create a new document, type
something, and save it. Now when I type something else in the document, the
document is not dirtied -- I can close it without a sheet popping out asking
me if I wish to save or not. Can someone tell me why this is, or better yet,
how to fix it? I thought NSTextview was supposed to automatically track
things like this? Thanks.
Eric Wang