Instance Method

abortEditing

Terminates the current editing operation and discards any edited text.

Declaration

- (BOOL)abortEditing;

Return Value

YES if there was a field editor associated with the control; otherwise, NO.

Discussion

If there was a field editor, this method removes the field editor’s delegate.

See Also

Managing the Field Editor

- 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.

- endEditing:

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

- selectWithFrame:editor:delegate:start:length:

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