This commit is contained in:
Corey Johnson
2012-02-06 10:44:10 -08:00
parent ea48ae626c
commit 697e547048

View File

@@ -17,7 +17,6 @@ class MoveLeft extends Motion
class MoveRight extends Motion
execute: ->
{column, row} = @editor.getCursorPosition()
console.log @editor.getCurrentLine().length
isOnLastCharachter = @editor.getCursorColumn() == @editor.getCurrentLine().length - 1
@editor.moveCursorRight() unless isOnLastCharachter