mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add DisplayBuffer::scrollToScreen/BufferPosition
Also add delegators in Editor and ReactEditorView
This commit is contained in:
@@ -96,7 +96,7 @@ class Cursor extends Model
|
||||
@marker.getHeadBufferPosition()
|
||||
|
||||
autoscroll: ->
|
||||
@editor.autoscrollToScreenRange(@getScreenRange())
|
||||
@editor.scrollToScreenRange(@getScreenRange())
|
||||
|
||||
# Public: If the marker range is empty, the cursor is marked as being visible.
|
||||
updateVisibility: ->
|
||||
|
||||
Reference in New Issue
Block a user