Re: NSTextField and NSTextAttachment

2008-02-27 Thread Ben Lachman
I'd say the field editor is the problem. NSCell provides setAttributedStringValue: and I assume stores and displays that value as well as reacting to clicks when not editing. Once you begin editing the firstResponder is set to the field editor and your textfield becomes its delegate, so f

NSTextField and NSTextAttachment

2008-02-26 Thread Sean Willson
i've created a NSTextView and placed one or more NSTextAttachment within it that wrap controls and i'm able to get the behavior of clicking the control etc as i want. however when i place the same NSTextAttachment in a NSTextField via: [textField setAttributedStringValue:[NSAttributedStrin