mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Pass clipping options in setting screen position and translating buffer position for screen position
This allows Cursor.proto.moveRight to avoid pre-clipping its position. It just passes the appropriate clipping options when setting its screen position.
This commit is contained in:
@@ -333,8 +333,8 @@ class Editor extends View
|
||||
screenPositionForBufferPosition: (position) ->
|
||||
@renderer.screenPositionForBufferPosition(position)
|
||||
|
||||
bufferPositionForScreenPosition: (position) ->
|
||||
@renderer.bufferPositionForScreenPosition(position)
|
||||
bufferPositionForScreenPosition: (position, options) ->
|
||||
@renderer.bufferPositionForScreenPosition(position, options)
|
||||
|
||||
screenRangeForBufferRange: (range) ->
|
||||
@renderer.screenRangeForBufferRange(range)
|
||||
|
||||
Reference in New Issue
Block a user