 
         editor.moveRight()
         expect(editor.getCursors()).toEqual [cursor1]
-        expect(cursor1.getBufferPosition()).toEqual [12,2]
+        expect(cursor1.getBufferPosition()).toEqual [12, 2]
 
     describe ".moveToTop()", ->
       it "moves the cursor to the top of the buffer", ->
-        editor.setCursorScreenPosition [11,1]
-        editor.addCursorAtScreenPosition [12,0]
+        editor.setCursorScreenPosition [11, 1]
+        editor.addCursorAtScreenPosition [12, 0]
         editor.moveToTop()
         expect(editor.getCursors().length).toBe 1
         expect(editor.getCursorBufferPosition()).toEqual [0, 0]


          describe "when text is selected", ->
            it "only cuts the selected text, not to the end of the line", ->
              editor.setSelectedBufferRanges([[[2,20], [2, 30]], [[3, 20], [3, 20]]])

              editor.cutToEndOfLine()



    describe ".selectUp/Down/Left/Right()", ->
      it "expands each selection to its cursor's new location", ->
        editor.setSelectedBufferRanges([[[0, 9], [0, 13]], [[3, 16], [3, 21]]])
        [selection1, selection2] = editor.getSelections()

        editor.selectRight()
        expect(selection1.getBufferRange()).toEqual [[0, 9], [0, 14]]
        expect(selection2.getBufferRange()).toEqual [[3, 16], [3, 22]]

        editor.selectLeft()
        editor.selectLeft()
        expect(selection1.getBufferRange()).toEqual [[0, 9], [0, 12]]
        expect(selection2.getBufferRange()).toEqual [[3, 16], [3, 20]]

        editor.selectDown()
        expect(selection1.getBufferRange()).toEqual [[0, 9], [1, 12]]
        expect(selection2.getBufferRange()).toEqual [[3, 16], [4, 20]]

        editor.selectUp()
        expect(selection1.getBufferRange()).toEqual [[0, 9], [0, 12]]
        expect(selection2.getBufferRange()).toEqual [[3, 16], [3, 20]]

      it "merges selections when they intersect when moving down", ->
        editor.setSelectedBufferRanges([[[0, 9], [0, 13]], [[1, 10], [1, 20]], [[2, 15], [3, 25]]])
        [selection1, selection2, selection3] = editor.getSelections()

        editor.selectDown()
