Selects the specified text range in the receiver's field editor.
- macOS 10.10+
The bounding rectangle of the control’s cell.
The field editor to use.
The object to use as a delegate for the field editor. This delegate object receives various
NSTextdelegation and notification methods during the course of editing the cell's contents.
The start of the text selection.
The length of the text range.
This method is similar to
edit, except that it can be invoked in any situation, not only on a mouse-down event. This method returns without doing anything if
text or the receiver is
nil, or if the receiver has no font set for it.