willyelm / atom-tab-preview

Code previews for tab items for atom editor
MIT License
6 stars 1 forks source link

TextEditor.onDidChangeScrollTop is deprecated. #7

Open jonathanbergson opened 7 years ago

jonathanbergson commented 7 years ago

This is now a view method. Call TextEditorElement::onDidChangeScrollTop instead.

TextEditor.onDidChangeScrollTop (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:712:12)
observePane (/Users/bergson/.atom/packages/tab-preview/lib/tab-preview.js:169:30)
onDidAddTextEditor (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:306:54)
Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
onDidAddPaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:231:22)
eng-eng11 commented 5 years ago

https://github.com/willyelm/atom-tab-preview/issues/7#issue-225270987