mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
💩
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user