mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
🐛 Reuse scroll position on text editor's copy. Fixes #8765
✅ Update specs to avoid regressions
This commit is contained in:
@@ -497,6 +497,7 @@ class TextEditor extends Model
|
||||
newEditor = new TextEditor({
|
||||
@buffer, displayBuffer, selectionsMarkerLayer, @tabLength, softTabs,
|
||||
suppressCursorCreation: true, @config, @notificationManager, @packageManager,
|
||||
@firstVisibleScreenRow, @firstVisibleScreenColumn,
|
||||
@clipboard, @viewRegistry, @grammarRegistry, @project, @assert, @applicationDelegate
|
||||
})
|
||||
newEditor
|
||||
|
||||
Reference in New Issue
Block a user