AppKit.TextKit.Formatter.SourceTextViewDelegate.CellDoubleClicked C# (CSharp) Method

CellDoubleClicked() public method

Called when the cell is double-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 CellDoubleClicked ( 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.
return void
		public override void CellDoubleClicked (NSTextView textView, NSTextAttachmentCell cell, CGRect cellFrame, nuint charIndex)
		{
			// Pass through to Text Editor event
			TextEditor.RaiseSourceCellDoubleClicked(TextEditor, new NSTextViewDoubleClickEventArgs(cell, cellFrame, charIndex));
		}