drawTextHighlightBackgroundForTextRange method
drawTextHighlightBackgroundForTextRange:origin:
Implementation
void drawTextHighlightBackgroundForTextRange(
NSTextRange textRange, {
required NSPoint origin,
}) {
objc.checkOsVersionInternal(
'NSTextView.drawTextHighlightBackgroundForTextRange:origin:',
iOS: (true, null),
macOS: (false, (15, 0, 0)),
);
_objc_msgSend_1h7qyzw(
this.ref.pointer,
_sel_drawTextHighlightBackgroundForTextRange_origin_,
textRange.ref.pointer,
origin,
);
}