Glavin001 / atom-preview

:construction: (NO LONGER MAINTAINED) :construction: - :eyeglasses: Ultimate previewer of source code in Atom.
https://atom.io/packages/preview
MIT License
51 stars 23 forks source link

TextEditor.setScrollTop is deprecated. #135

Closed mikedizon closed 2 years ago

mikedizon commented 7 years ago

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

TextEditor.setScrollTop (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3494:12)
<unknown> (/Users/mdizon/.atom/packages/preview/lib/preview-view.coffee:315:22)
Object.render (/Users/mdizon/.atom/packages/preview/lib/renderer.coffee:63:18)
atom-preview-editor.renderPreviewWithRenderer (/Users/mdizon/.atom/packages/preview/lib/preview-view.coffee:368:29)
atom-preview-editor.renderPreview (/Users/mdizon/.atom/packages/preview/lib/preview-view.coffee:279:19)
later (/Users/mdizon/.atom/packages/preview/node_modules/underscore/underscore.js:724:25)