drawCharactersInRange_forContentView_ property

ObjCProtocolListenableMethod<void Function(NSRange, NSView)> drawCharactersInRange_forContentView_
final

drawCharactersInRange:forContentView:

Implementation

static final drawCharactersInRange_forContentView_ =
    objc.ObjCProtocolListenableMethod<void Function(NSRange, NSView)>(
      _protocol_NSTextFinderClient,
      _sel_drawCharactersInRange_forContentView_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                NSRange,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1f6txb5)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextFinderClient,
        _sel_drawCharactersInRange_forContentView_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(NSRange, NSView) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSView.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSRange arg1, NSView arg2) =>
                func(arg1, arg2),
          ),
      (void Function(NSRange, NSView) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSView.listener(
            (ffi.Pointer<ffi.Void> _, NSRange arg1, NSView arg2) =>
                func(arg1, arg2),
          ),
      (void Function(NSRange, NSView) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSRange_NSView.blocking(
            (ffi.Pointer<ffi.Void> _, NSRange arg1, NSView arg2) =>
                func(arg1, arg2),
          ),
    );