|
From: Maxwell, A. R <ada...@pn...> - 2009-01-27 01:06:34
|
On 01/26/09 16:00, "Christiaan Hofman" <cmh...@gm...> wrote: > Yes, but that's all about the window title, not the represented file. > I can only find one vague reference to the represented file, and as > soon as they get specific they forget to mention it. Well, for my original comment I was actually going off of the API docs, which say this: "synchronizeWindowTitleWithDocumentName Synchronizes the displayed window title and the represented filename with the information in the associated document." I think that's pretty clear in referring to "the represented filename." Indeed, if you set a breakpoint on -[NSWindow setRepresentedURL:], it's called from -[NSWindowController synchronizeWindowTitleWithDocumentName]. Anyway, it's probably not worth this discussion; it was just a suggestion that I thought might avoid future breakage. (apologies to the users list for dragging this out here) |