mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 15:20:28 +03:00
Add failing spec for rightward movement over folds.
This commit is contained in:
parent
796e24f278
commit
c2cba8bdcd
@ -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]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user