Sent when the user clicks a cell.
Original signature is '- (void)textView:(NSTextView *)aTextView clickedOnCell:(id < NSTextAttachmentCell >)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public delegate void TextViewClickedOnCellInRectAtIndexEventHandler( NSTextView aTextView, INSTextAttachmentCell cell, NSRect cellFrame, NSUInteger charIndex )
Public Delegate Sub TextViewClickedOnCellInRectAtIndexEventHandler ( _ aTextView As NSTextView, _ cell As INSTextAttachmentCell, _ cellFrame As NSRect, _ charIndex As NSUInteger _ )
public delegate void TextViewClickedOnCellInRectAtIndexEventHandler( NSTextView^ aTextView, INSTextAttachmentCell^ cell, NSRect cellFrame, NSUInteger charIndex )

- aTextView (NSTextView)
- The text view sending the message.
- cell (INSTextAttachmentCell)
- The cell clicked by the user.
- cellFrame (NSRect)
- The frame of the clicked cell.
- charIndex (NSUInteger)
- The character index of the clicked cell.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)