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

# 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) ->
    @scrolloff = 2 # atom default
    super(@editorElement, @vimState)

