My validateMenuItem method is never being called for my undo: and redo: menu
items, leaving them permanently disabled.
From Apple's doc, "Enabling Menu Items":
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MenuList/Articles/EnablingMenuItems.html#//apple_ref/doc/uid/200
Thank you very much, Quincey. That fixed it.
On Aug 25, 2011, at 7:00 PM, Quincey Morris wrote:
> Configuring the Undo menu item with action 'undo:' tells the frameworks that
> this is *the* undo menu item, so it becomes one element of a standard undo UI
> mechanism implemented in NSWindow. Un
nt, still does not append
a file extension to the file name.
What am I missing?
On Sep 3, 2011, at 2:12 PM, Lee Ann Rucker wrote:
> Have you set [NSDocument fileType]?
> You can get the extension from [NSString pathExtension]
>
>
> - Original Message -
> Fro
tInfo:nil];
If I'm using saveDocumentWithDelegate:didSaveSelector:contextInfo, what is the
correct way for me to communicate the list of suitable extensions to the Save
panel?
On Sep 3, 2011, at 3:33 PM, Quincey Morris wrote:
> On Sep 3, 2011, at 15:21 , Vik Rubenfeld wrote:
>
>> I went to t
27;m sure it's right in front of me. What am I not seeing yet?
On Sep 3, 2011, at 5:23 PM, Kyle Sluder wrote:
> On Sat, Sep 3, 2011 at 5:14 PM, Vik Rubenfeld wrote:
>> If I'm using saveDocumentWithDelegate:didSaveSelector:contextInfo, what is
>> the correct way for me to
at file extension my
document should be, when calling
saveDocumentWithDelegate:didSaveSelector:contextInfo.
I'm sure it's right in front of me. What am I not seeing yet?
On Sep 3, 2011, at 5:23 PM, Kyle Sluder wrote:
> On Sat, Sep 3, 2011 at 5:14 PM, Vik Rubenfeld wrote:
>
I'm saving via this call:
[self saveDocumentWithDelegate:self
didSaveSelector:@selector(didSaveDocument:didSave:contextInfo:)
contextInfo:nil];
This brings up a Save As dialogue box.
On Sep 4, 2011, at 12:33 PM, Jens Alfke wrote:
>
> On Sep 4, 2011, at 9:06 AM, Vik Rube
I have an NSOutlineView with five columns. I need to know which column
contains the NSTextFieldCell which is currently being edited. To do that, I
thought I would connect the action method of the NSTextFieldCell to a method in
the NSOutlineView's delegate, which could check the Tag of the NSTe