textView_shouldSetSpellingState_range_ property

ObjCProtocolMethod<DartNSInteger Function(NSTextView, DartNSInteger, NSRange)> textView_shouldSetSpellingState_range_
final

textView:shouldSetSpellingState:range:

Implementation

static final textView_shouldSetSpellingState_range_ =
    objc.ObjCProtocolMethod<
      DartNSInteger Function(NSTextView, DartNSInteger, NSRange)
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_shouldSetSpellingState_range_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSInteger,
                NSRange,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_15zjx8z)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_shouldSetSpellingState_range_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (DartNSInteger Function(NSTextView, DartNSInteger, NSRange) func) =>
          ObjCBlock_NSInteger_ffiVoid_NSTextView_NSInteger_NSRange.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              DartNSInteger arg2,
              NSRange arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );