Selects the specified text range in the cell's field editor.
- macOS 10.0+
The bounding rectangle of the cell.
The control that manages the cell.
The field editor to use for editing the cell.
The object to use as a delegate for the field editor (
textparameter). 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(with, 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.