markedTextAttributes property

NSDictionary? get markedTextAttributes

markedTextAttributes

Implementation

objc.NSDictionary? get markedTextAttributes {
  objc.checkOsVersionInternal(
    'NSTextView.markedTextAttributes',
    iOS: (true, null),
  );
  final _ret = _objc_msgSend_151sglz(
    this.ref.pointer,
    _sel_markedTextAttributes,
  );
  return _ret.address == 0
      ? null
      : objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}
set markedTextAttributes (NSDictionary? value)

setMarkedTextAttributes:

Implementation

set markedTextAttributes(objc.NSDictionary? value) {
  objc.checkOsVersionInternal(
    'NSTextView.setMarkedTextAttributes:',
    iOS: (true, null),
  );
  _objc_msgSend_xtuoz7(
    this.ref.pointer,
    _sel_setMarkedTextAttributes_,
    value?.ref.pointer ?? ffi.nullptr,
  );
}