[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 18 Oct 2001 13:35:10 -0400 (EDT)
In NSTextView: -mouseDown we have:
if (_tf.imports_graphics == YES)
This is for letting the delegate takes mouse clicks on the cell
representing a NSTextAttachment object.
If imports_graphics == YES, it means that the text view *accept* dragged
files. I don't think this is related to NSTextAttachements (the API is not
clear on that).
I think the method above should look like:
if ( [_textStorage containsAttachments] )
I think somebody should verify this on OPENSTEP or under MacOS-X.
Live as if you were to die tomorrow.
Learn as if you were to live forever.
- NSTextView bug?,
Ludovic Marcotte <=