Add failing spec for rightward movement over folds.

This commit is contained in:
Nathan Sobo 2012-02-27 11:22:20 -07:00
parent 796e24f278
commit c2cba8bdcd

View File

@ -750,4 +750,9 @@ describe "Editor", ->
expect(editor.getCursorScreenPosition()).toEqual [6, 5] expect(editor.getCursorScreenPosition()).toEqual [6, 5]
expect(editor.getCursorBufferPosition()).toEqual [9, 5] expect(editor.getCursorBufferPosition()).toEqual [9, 5]
editor.setCursorScreenPosition([4, 30])
expect(editor.getCursorScreenPosition()).toEqual [4, 29]
editor.moveCursorRight()
expect(editor.getCursorScreenPosition()).toEqual [4, 32]