       editor.insertText(" getPreviousWord\n")
       editor.insertText("e, => \n")
       editor.insertText(" 88 \n")
-      editor.setCursorBufferPosition([0,5])
-      editor.addCursorAtBufferPosition([1,7])
-      editor.addCursorAtBufferPosition([2,5])
-      editor.addCursorAtBufferPosition([3,3])
+      editor.setCursorBufferPosition([0, 5])
+      editor.addCursorAtBufferPosition([1, 7])
+      editor.addCursorAtBufferPosition([2, 5])
+      editor.addCursorAtBufferPosition([3, 3])
       [cursor1, cursor2, cursor3, cursor4] = editor.getCursors()
 
       editor.deleteToBeginningOfSubword()

      expect(buffer.lineForRow(1)).toBe(' getviousWord')
      expect(buffer.lineForRow(2)).toBe('e,  ')
      expect(buffer.lineForRow(3)).toBe('  ')
      expect(cursor1.getBufferPosition()).toEqual([0,1])
      expect(cursor2.getBufferPosition()).toEqual([1,4])
      expect(cursor3.getBufferPosition()).toEqual([2,3])
      expect(cursor4.getBufferPosition()).toEqual([3,1])

      editor.deleteToBeginningOfSubword()
      expect(buffer.lineForRow(0)).toBe('')
      expect(buffer.lineForRow(1)).toBe(' viousWord')
      expect(buffer.lineForRow(2)).toBe('e ')
      expect(buffer.lineForRow(3)).toBe(' ')
      expect(cursor1.getBufferPosition()).toEqual([0,0])
      expect(cursor2.getBufferPosition()).toEqual([1,1])
      expect(cursor3.getBufferPosition()).toEqual([2,1])
      expect(cursor4.getBufferPosition()).toEqual([3,0])

      editor.deleteToBeginningOfSubword()
      expect(buffer.lineForRow(0)).toBe('')
      expect(buffer.lineForRow(1)).toBe('viousWord')
      expect(buffer.lineForRow(2)).toBe('  ')
      expect(buffer.lineForRow(3)).toBe('')
      expect(cursor1.getBufferPosition()).toEqual([0,0])
      expect(cursor2.getBufferPosition()).toEqual([1,0])
      expect(cursor3.getBufferPosition()).toEqual([2,0])
      expect(cursor4.getBufferPosition()).toEqual([2,1])

  describe ".deleteToEndOfSubword", ->
    it "deletes subwords", ->

      editor.insertText("getPreviousWord \n")
      editor.insertText("e, => \n")
      editor.insertText(" 88 \n")
      editor.setCursorBufferPosition([0, 0])
      editor.addCursorAtBufferPosition([1, 0])
      editor.addCursorAtBufferPosition([2, 2])
      editor.addCursorAtBufferPosition([3, 0])
      [cursor1, cursor2, cursor3, cursor4] = editor.getCursors()

      editor.deleteToEndOfSubword()
