textView_willChangeSelectionFromCharacterRange_toCharacterRange_ property

ObjCProtocolMethod<NSRange Function(NSTextView, NSRange, NSRange)> textView_willChangeSelectionFromCharacterRange_toCharacterRange_
final

textView:willChangeSelectionFromCharacterRange:toCharacterRange:

Implementation

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