mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Don't let MoveDown got to EOL at EOF
This commit is contained in:
@@ -17,7 +17,7 @@ class MoveUp extends Motion
|
||||
class MoveDown extends Motion
|
||||
execute: ->
|
||||
{column, row} = @editor.getPosition()
|
||||
@editor.moveDown()
|
||||
@editor.moveDown() if row < (@editor.getAceSession().getLength() - 1)
|
||||
|
||||
class MoveToNextWord extends Motion
|
||||
execute: ->
|
||||
|
||||
Reference in New Issue
Block a user