       @requestUpdate()
 
   onCursorAdded: (cursor) ->
-    @subscribe cursor.onDidChangePosition @onCursorMoved
+    @disposables.add cursor.onDidChangePosition @onCursorMoved
 
   onCursorMoved: ->
     @cursorMoved = true


  componentWillMount: ->
    @props.editor.manageScrollPosition = true
    @observeConfig()
    @setScrollSensitivity(atom.config.get('editor.scrollSensitivity'))


  componentWillUnmount: ->
    {editor, hostElement} = @props

    @disposables.dispose()
    @presenter.destroy()
    @scopedConfigDisposables.dispose()
    window.removeEventListener 'resize', @requestHeightAndWidthMeasurement
    clearInterval(@domPollingIntervalId)
    @domPollingIntervalId = null
