internal virtual bool SendActionToTextView(string action) { if (textField != null && textField.Window.FirstResponder is NSTextView textView && textField.Contains(textView)) { return(NSApplication.SharedApplication.SendAction(new Selector(action), textView, NSApplication.SharedApplication)); } return(false); }