Skip to content

Commit

Permalink
Fix default values for touchbar APIs in NSTextViewDelegate. (#3843) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons committed May 14, 2018
1 parent 408d357 commit eeaeb7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/appkit.cs
Expand Up @@ -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);

}
Expand Down

0 comments on commit eeaeb7e

Please sign in to comment.