Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
- Subject: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
- From: Jens Alfke <email@hidden>
- Date: Tue, 15 Sep 2009 21:52:46 -0700
On Sep 15, 2009, at 4:23 PM, David M. Cotter wrote:
when i try to set a breakpoint on setDocumentEdited, the "enabled"
check box shows "mixed" state, and the breakpoint is never hit.
if i try to set it to "on" it goes back to mixed state
so i can't set a breakpoint :(
What are the exact steps you use to set the breakpoint?
[NSApp mainWindow] always returns nil, so i must use myNSWindow
note: i can set this same window's title and the title updates just
fine.
it's a small "palette" style window, not the large title bar but the
small title bar.
-mainWindow only returns NSWindows, not NSPanels. A panel can never be
the 'main' window.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden