Instance Method

selectTextAtRow:column:

Selects the text in the cell at the specified location and returns the cell.

Declaration

- (__kindof NSCell *)selectTextAtRow:(NSInteger)row column:(NSInteger)col;

Parameters

row

The row containing the text to select.

column

The column containing the text to select.

Return Value

If it is both editable and selectable, the cell at the specified row and column. If the cell at the specified location, is either not editable or not selectable, this method does nothing and returns nil. If row and column indicate a cell that is outside the receiver, this method does nothing and returns the receiver.

See Also

Editing Text in Cells

- selectText:

Selects text in the currently selected cell or in the key cell.

- textShouldBeginEditing:

Requests permission to begin editing text.

- textDidBeginEditing:

Invoked when there’s a change in the text after the receiver gains first responder status.

- textDidChange:

Invoked when a key-down event or paste operation occurs that changes the receiver’s contents.

- textShouldEndEditing:

Requests permission to end editing.

- textDidEndEditing:

Invoked when text editing ends.