From c2cba8bdcd32871759163971986b06f35c98a416 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 27 Feb 2012 11:22:20 -0700 Subject: [PATCH] Add failing spec for rightward movement over folds. --- spec/atom/editor-spec.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/atom/editor-spec.coffee b/spec/atom/editor-spec.coffee index e2b71be22..1c3b235d3 100644 --- a/spec/atom/editor-spec.coffee +++ b/spec/atom/editor-spec.coffee @@ -750,4 +750,9 @@ describe "Editor", -> expect(editor.getCursorScreenPosition()).toEqual [6, 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] +