       fn()
 
 # Used as operator's target in visual-mode.
-# Never be execute()ed as stand-alone motion
 class CurrentSelection extends Motion
   @extend(false)
   selectedRange: null

    unless @isMode('visual')
      @selectCharacters()
      if @wasLinewise
        swrap(s).expandOverLine() for s in @editor.getSelections()
    @emitDidSelect()

  selectCharacters: ->

    @selectedRange = @editor.getSelectedBufferRange()
    @wasLinewise = @isLinewise()

  execute: ->
    throw new Error("#{@constructor.name} should not be executed")

  select: ->
    # In visual mode, the current selections are already there.
