textView_candidates_forSelectedRange_ property

ObjCProtocolMethod<NSArray Function(NSTextView, NSArray, NSRange)> textView_candidates_forSelectedRange_
final

textView:candidates:forSelectedRange:

Implementation

static final textView_candidates_forSelectedRange_ =
    objc.ObjCProtocolMethod<
      objc.NSArray Function(NSTextView, objc.NSArray, NSRange)
    >(
      _protocol_NSTextViewDelegate,
      _sel_textView_candidates_forSelectedRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSRange,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1sfqckr)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_textView_candidates_forSelectedRange_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (objc.NSArray Function(NSTextView, objc.NSArray, NSRange) func) =>
          ObjCBlock_NSArray_ffiVoid_NSTextView_NSArray_NSRange.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextView arg1,
              objc.NSArray arg2,
              NSRange arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );