 
   isActiveCell: (cell) -> @getActiveCell() is cell
 
+  isSelectedCell: (cell) -> @iseSelectedPosition(@table.positionOfCell(cell))
+
   activateCell: (cell) ->
     @activateCellAtPosition(@table.positionOfCell(cell))
 

    position.row <= @selection.end.row and
    position.column >= @selection.start.column and
    position.column <= @selection.end.column

  setSelection: (selection) ->
    @selection = Range.fromObject(selection)

  #    ##    ##  ##     ## ##  ##  ## ##    ##
  #    ##     ##  #######   ###  ###   ######

  isActiveRow: (row) -> @activeCellPosition.row is row

  isSelectedRow: (row) ->
    row >= @selection.start.row and row <= @selection.end.row

