     if range
       @setBufferRange(range, {autoscroll: true})
 
+  getBufferRange: ->
+    @selection.getBufferRange()
+
   reverse: ->
     @setReversedState(not @selection.isReversed())
 

      @selection.editor.bufferRangeForBufferRow(row, includeNewline: true)
    else
      tail = @selection.getTailBufferPosition()
      {editor} = @selection
      tokenizedLine = editor.tokenizedLineForScreenRow(tail.row)
      if @selection.isReversed()
        column = tail.column - 1
        clip = 'backward'

      editor.lineTextForBufferRow(row)

  translate: (translation, options) ->
    range = @getBufferRange()
    range = range.translate(translation...)
    @setBufferRange(range, options)

