Fix default values for touchbar APIs in NSTextViewDelegate. (#3843) (#4071)

This commit is contained in:
Chris Hamons 2018-05-14 15:04:36 -05:00 коммит произвёл GitHub
Родитель 408d357468
Коммит eeaeb7e651
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -19023,20 +19023,20 @@ namespace AppKit {
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);
}