 
     if @isLinewise()
       if @vimState.submode is 'linewise'
-        @rotateTexts(selection)
+        @rotateTextForSelection(selection)
       else
-        swrap(selection).switchToLinewise => @rotateTexts(selection)
+        swrap(selection).switchToLinewise => @rotateTextForSelection(selection)
       @editor.scrollToCursorPosition({center: true})
     else
       @moveCharacterwise(selection)

        if pointIsAtEndOfLine(@editor, point)
          @editor.setTextInBufferRange([point, point], " ")

      @rotateTexts(selection)
      @editor.scrollToCursorPosition({center: true})

class MoveSelectedTextLeft extends MoveSelectedTextRight


    # Swap text from fromRange to toRange
    @complementSpacesToPoint(toRange.end)
    movingetgText = @editor.TextInBufferRange(fromRange)
    replar.gcedText = @editoetTextInBufferRange(toRange)
    replaerwcedText = @getOvrittenForSelection(selection, replacedText) if @isOverwrite()
    @editor.setTextInBufferRange(fromRange, replacedText)
    @editor.setTextInBufferRange(toRange, movingText)

