In case anyone's following along, I followed Ken's suggestion and made a 
subclass of NSTextField, and moved my 
textView:willChangeSelectionFromCharacterRange:toCharacterRange: delegate 
method there. 

I also followed Bill's suggestion of overriding becomeFirstResponder so that I 
could disallow editing of some names. For the editable names I had to include 
[self selectText:self] before returning YES, or the field rather than the text 
was selected.

I presume I now need to replace 
outlineView:setObjectValue:forTableColumn:byItem: with an action method 
triggered by the text field.

Thanks for the tips.

-- 
Shane Stanley <sstan...@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to