textView_shouldChangeTextInRange_replacementString_ property
ObjCProtocolMethod<bool Function(NSTextView, NSRange, NSString?)>
textView_shouldChangeTextInRange_replacementString_
final
textView:shouldChangeTextInRange:replacementString:
Implementation
static final textView_shouldChangeTextInRange_replacementString_ =
objc.ObjCProtocolMethod<
bool Function(NSTextView, NSRange, objc.NSString?)
>(
_protocol_NSTextViewDelegate,
_sel_textView_shouldChangeTextInRange_replacementString_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Bool Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
NSRange,
ffi.Pointer<objc.ObjCObject>,
)
>
>(_NativeBindingBindings_protocolTrampoline_u18wpp)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextViewDelegate,
_sel_textView_shouldChangeTextInRange_replacementString_,
isRequired: false,
isInstanceMethod: true,
),
(bool Function(NSTextView, NSRange, objc.NSString?) func) =>
ObjCBlock_bool_ffiVoid_NSTextView_NSRange_NSString.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSTextView arg1,
NSRange arg2,
objc.NSString? arg3,
) => func(arg1, arg2, arg3),
),
);