An array containing all of the matrix’s highlighted cells plus its selected cell.
- macOS 10.0+
See the class description for a discussion of the selected cell.
As an alternative to using
set for programmatically making discontiguous selections of cells in a matrix, you could first set the single selected cell and then set subsequent cells to be highlighted; afterwards you can access
selected to obtain the selection of cells.