 # Public: Generic class for motions that require extra input
 class MotionWithInput extends Motion
   constructor: (@editorElement, @vimState) ->
-    @editor = @editorElement.getModel()
     super(@editorElement, @vimState)
     @complete = false
 


class MoveToScreenLine extends MoveToLine
  constructor: (@editorElement, @vimState, @scrolloff) ->
    @editor = @editorElement.getModel()
    @scrolloff = 2 # atom default
    super(@editorElement, @vimState)



class CurrentSelection extends Motion
  constructor: (@editorElement, @vimState) ->
    super(@editorElement, @vimState)
    @selection = @editor.getSelectedBufferRanges()

