Begins editing of the receiver’s text using the specified 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.
NSLeftevent that initiated the editing behavior.
If the receiver isn’t a text-type
NSCell object, no editing is performed. Otherwise, the field editor (
text) is sized to
a and its superview is set to
control, so it exactly covers the receiver. The field editor is then activated and editing begins. It’s the responsibility of the delegate to end editing when responding to
text. Upon ending the editing session, the delegate should remove any data from the field editor.