public CocoaTextViewHelper(NSTextView textField) { m_textView = textField; m_textView.SetDelegate(d => { d.TextDidChange += HandleTextViewTextDidChange; }); }