mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Slave CursorView's screen position to its cursor model. Move moveUp and moveDown methods into cursor model.
This commit is contained in:
@@ -208,10 +208,10 @@ class Selection extends View
|
||||
@modifySelection => @cursor.moveLeft()
|
||||
|
||||
selectUp: ->
|
||||
@modifySelection => @cursor.moveUp()
|
||||
@modifySelection => @cursor.cursor.moveUp()
|
||||
|
||||
selectDown: ->
|
||||
@modifySelection => @cursor.moveDown()
|
||||
@modifySelection => @cursor.cursor.moveDown()
|
||||
|
||||
selectToTop: ->
|
||||
@modifySelection => @cursor.moveToTop()
|
||||
|
||||
Reference in New Issue
Block a user