diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index 912b205a7..74d6344b7 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -1527,38 +1527,6 @@ describe "Editor", -> expect(editor.lineForBufferRow(0)).toBe 'var = () {' - describe "keyboard movement", -> - it "moves all cursors", -> - editor.setCursorScreenPosition([3, 13]) - editor.addCursorAtScreenPosition([3, 38]) - editor.addCursorAtScreenPosition([4, 1]) - [cursor1, cursor2, cursor3] = editor.getCursors() - - editor.moveCursorLeft() - expect(cursor1.getBufferPosition()).toEqual [3, 12] - expect(cursor2.getBufferPosition()).toEqual [3, 37] - expect(cursor3.getBufferPosition()).toEqual [4, 0] - - editor.moveCursorLeft() - expect(cursor1.getBufferPosition()).toEqual [3, 11] - expect(cursor2.getBufferPosition()).toEqual [3, 36] - expect(cursor3.getBufferPosition()).toEqual [3, 62] - - editor.moveCursorRight() - expect(cursor1.getBufferPosition()).toEqual [3, 12] - expect(cursor2.getBufferPosition()).toEqual [3, 37] - expect(cursor3.getBufferPosition()).toEqual [4, 0] - - editor.moveCursorDown() - expect(cursor1.getBufferPosition()).toEqual [4, 12] - expect(cursor2.getBufferPosition()).toEqual [4, 29] - expect(cursor3.getBufferPosition()).toEqual [5, 0] - - editor.moveCursorUp() - expect(cursor1.getBufferPosition()).toEqual [3, 12] - expect(cursor2.getBufferPosition()).toEqual [3, 37] - expect(cursor3.getBufferPosition()).toEqual [4, 0] - describe "selections", -> describe "upon clicking and dragging with the meta-key held down", -> it "adds an additional selection upon clicking and dragging with the meta-key held down", ->