mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't pass addCursor options through to markBufferPosition
Fixes #15646
This commit is contained in:
@@ -2208,7 +2208,7 @@ class TextEditor extends Model
|
||||
#
|
||||
# Returns a {Cursor}.
|
||||
addCursorAtBufferPosition: (bufferPosition, options) ->
|
||||
@selectionsMarkerLayer.markBufferPosition(bufferPosition, Object.assign({invalidate: 'never'}, options))
|
||||
@selectionsMarkerLayer.markBufferPosition(bufferPosition, {invalidate: 'never'})
|
||||
@getLastSelection().cursor.autoscroll() unless options?.autoscroll is false
|
||||
@getLastSelection().cursor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user