NSDocument - based application and --Edited string in window title

2011-09-20 Thread Nick
Hello Is there a way to get rid of this substring when the opened document is changed? I would like to preserve the changes made until the user presses Command+S (or saves the file explicitly), so saving the document every time the user types some text is not an option (however, it vanishes the

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Mike Abdullah
Sounds to me like you probably want to opt out of the new autosave-in-place behaviour. On 20 Sep 2011, at 10:55, Nick wrote: Hello Is there a way to get rid of this substring when the opened document is changed? I would like to preserve the changes made until the user presses Command+S (or

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Nick
Not the behavior, i want only to get rid of that -- Edited string in window's title, when the opened file is modified but not yet saved 2011/9/20 Mike Abdullah cocoa...@mikeabdullah.net Sounds to me like you probably want to opt out of the new autosave-in-place behaviour. On 20 Sep 2011, at

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Kyle Sluder
On Sep 20, 2011, at 6:08 AM, Nick eveningn...@gmail.com wrote: Not the behavior, i want only to get rid of that -- Edited string in window's title, when the opened file is modified but not yet saved Why? If it's part of the standard UI, the user is going to expect it there. Do other apps not

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Nick
there must be some way to override this default title suffix. I was able to override the title string itself (i.e, now instead of the filename or untitled i get there my application's name), but --edited is automatically appended there anyway whenever an existing document is opened and changed

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Kyle Sluder
On Tue, Sep 20, 2011 at 9:06 AM, Nick eveningn...@gmail.com wrote: there must be some way to override this default title suffix. Must is not a synonym for I want there to be. I need this because of the specificity of the application and because customer wants that badly. I'm aware that it's

Re: NSDocument - based application and --Edited string in window title

2011-09-20 Thread Nick
thanks Kyle, that helped 2011/9/20 Kyle Sluder kyle.slu...@gmail.com On Tue, Sep 20, 2011 at 9:06 AM, Nick eveningn...@gmail.com wrote: there must be some way to override this default title suffix. Must is not a synonym for I want there to be. I need this because of the specificity of