From d64966c2d54b5ba942e6295bd4b443c11c640865 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 3 Apr 2018 23:20:52 +0200 Subject: [PATCH] Fix default values for touchbar APIs in NSTextViewDelegate. (#3843) --- src/appkit.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/appkit.cs b/src/appkit.cs index 2e01fea46149..a30221d99b45 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -19023,20 +19023,20 @@ partial interface NSTextViewDelegate { NSUndoManager GetUndoManager (NSTextView view); [Mac (10,12,2)] - [Export ("textView:shouldUpdateTouchBarItemIdentifiers:"), DelegateName ("NSTextViewUpdateTouchBarItemIdentifiers"), DefaultValue (null)] + [Export ("textView:shouldUpdateTouchBarItemIdentifiers:"), DelegateName ("NSTextViewUpdateTouchBarItemIdentifiers"), NoDefaultValue] string[] ShouldUpdateTouchBarItemIdentifiers (NSTextView textView, string[] identifiers); [Mac (10,12,2)] - [Export ("textView:candidatesForSelectedRange:"), DelegateName ("NSTextViewGetCandidates"), DefaultValue (null)] + [Export ("textView:candidatesForSelectedRange:"), DelegateName ("NSTextViewGetCandidates"), NoDefaultValue] [return: NullAllowed] NSObject[] GetCandidates (NSTextView textView, NSRange selectedRange); [Mac (10,12,2)] - [Export ("textView:candidates:forSelectedRange:"), DelegateName ("NSTextViewTextCheckingResults"), DefaultValue (null)] + [Export ("textView:candidates:forSelectedRange:"), DelegateName ("NSTextViewTextCheckingResults"), NoDefaultValue] NSTextCheckingResult[] GetTextCheckingCandidates (NSTextView textView, NSTextCheckingResult[] candidates, NSRange selectedRange); [Mac (10,12,2)] - [Export ("textView:shouldSelectCandidateAtIndex:"), DelegateName ("NSTextViewSelectCandidate"), DefaultValue (false)] + [Export ("textView:shouldSelectCandidateAtIndex:"), DelegateName ("NSTextViewSelectCandidate"), NoDefaultValue] bool ShouldSelectCandidates (NSTextView textView, nuint index); }