Contents

selectText(atRow:column:)

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

Declaration

func selectText(atRow row: Int, column col: Int) -> NSCell?

Parameters

  • row:

    The row containing the text to select.

  • col:

    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