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?
open breakpoints window
double click on "double click to add symbol"
paste "setDocumentEdited", press return
[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.
well i'm not sure you should say "never" about that. because in our
app the main window has a small title bar. in fact all windows have
the small title bar. it's still a window, i think, not a panel.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com