Instance Method

endEditing:

Ends the editing of text in the receiver using the specified field editor.

Declaration

- (void)endEditing:(NSText *)textObj;

Parameters

textObj

The field editor currently handling the editing of the cell's content.

Discussion

Ends any editing of text that began with a call to editWithFrame:editor:delegate:event: or selectWithFrame:editor:delegate:start:length:.

See Also

Managing the Field Editor

- abortEditing

Terminates the current editing operation and discards any edited text.

- currentEditor

Returns the current field editor for the control.

- validateEditing

Validates changes to any user-typed text.

- editWithFrame:editor:delegate:event:

Begins editing of the receiver’s text using the specified field editor.

- selectWithFrame:editor:delegate:start:length:

Selects the specified text range in the receiver's field editor.