AppKit.TextKit.Formatter.SourceTextViewDelegate.CellClicked C# (CSharp) 메소드

CellClicked() 공개 메소드

Called when the cell is clicked.
Because a custom Delegate has been attached to the NSTextView, the normal events will not work so we are using this method to call custom AppKit.TextKit.Formatter.SourceTextView events instead.
public CellClicked ( NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex ) : void
textView NSTextView The .
cell NSTextAttachmentCell The cell being acted upon.
cellFrame CGRect The onscreen frame of the cell.
charIndex nuint The index of the character clicked.
리턴 void
		public override void CellClicked (NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex)
		{
			// Pass through to Text Editor event
			TextEditor.RaiseSourceCellClicked(TextEditor, new NSTextViewClickedEventArgs(cell, cellFrame, charIndex));
		}