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

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

  getSelection: -> @selection

  isSelectedCell: (cell) ->
    @iseSelectedPosition(@table.positionOfCell(cell))

  isSelectedPosition: (position) ->
    position = Point.fromObject(position)


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

  getSelection: -> @selection

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