     else
       @editor.selectToBufferPosition([clickedBufferRow + 1, 0])
 
-    @handleDragUntilMouseUp event, (screenPosition) =>
+    @handleDragUntilMouseUp (screenPosition) =>
       dragRow = screenPosition.row
       dragBufferRow = @editor.bufferRowForScreenRow(dragRow)
       if dragRow < tailPosition.row # dragging up

  onCursorMoved: =>
    @cursorMoved = true

  handleDragUntilMouseUp: (event, dragHandler) =>
    dragging = false
    lastMousePosition = {}
    animationLoop = =>


    @editor.setSelectedBufferRange([[clickedBufferRow, 0], [clickedBufferRow + 1, 0]], preserveFolds: true)

    @handleDragUntilMouseUp (screenPosition) =>
      dragRow = screenPosition.row
      dragBufferRow = @editor.bufferRowForScreenRow(dragRow)
      if dragBufferRow < clickedBufferRow # dragging up
