       @editor.addSelectionForBufferRange(range, goalBufferRange: range)
       break
 
-  # Public:
-  #
   # FIXME: I have no idea what this does.
   getGoalBufferRange: ->
     @marker.getAttributes().goalBufferRange


  # Public: Modifies the buffer {Range} for the selection.
  #
  # * screenRange:
  #   The new {Range} to select
  # * options
  #    + preserveFolds:
  #      if `true`, the fold settings are preserved after the selection moves
  #    + autoscroll:
  #      if `true`, the {Editor} scrolls to the new selection
  setBufferRange: (bufferRange, options={}) ->
    bufferRange = Range.fromObject(bufferRange)
    @needsAutoscroll = options.autoscroll

    @editor.createFold(range.start.row, range.end.row)
    @cursor.setBufferPosition([range.end.row + 1, 0])

  modifySelection: (fn) ->
    @retainSelection = true
    @plantTail()
