textView_shouldChangeTextInRanges_replacementStrings_ property

ObjCProtocolMethod<bool Function(NSTextView, NSArray, NSArray?)> textView_shouldChangeTextInRanges_replacementStrings_
final

textView:shouldChangeTextInRanges:replacementStrings:

Implementation

static final textView_shouldChangeTextInRanges_replacementStrings_ =
    objc.ObjCProtocolMethod<
      bool Function(NSTextView, objc.NSArray, objc.NSArray?)
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_shouldChangeTextInRanges_replacementStrings_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_jk8du5)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_shouldChangeTextInRanges_replacementStrings_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSTextView, objc.NSArray, objc.NSArray?) func) =>
          ObjCBlock_bool_ffiVoid_NSTextView_NSArray_NSArray.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              objc.NSArray arg2,
              objc.NSArray? arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );