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

        else
          selection.getBufferRange().start.column isnt 0

  rotateTexts: (selection) ->
    reversed = selection.isReversed()
    # Pre mutate
    translation = switch @direction

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

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

class MoveSelectedTextLeft extends MoveSelectedTextRight
