mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Benchmark movement of cursor that scrolls the editor's scroll view
This commit is contained in:
@@ -59,6 +59,13 @@ describe "editor.", ->
|
||||
benchmark "inserting-newline", 5, ->
|
||||
editor.insertNewline()
|
||||
|
||||
describe "on-last-visible-line.", ->
|
||||
beforeEach ->
|
||||
editor.setCursorScreenPosition([editor.getLastVisibleScreenRow(), 0])
|
||||
|
||||
fbenchmark "move-down-and-scroll", 300, ->
|
||||
editor.trigger 'move-down'
|
||||
|
||||
describe "at-eof.", ->
|
||||
endPosition = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user