JoshCheek / atom-seeing-is-believing

Seeing is Believing integration for the Atom text editor.
Do What The F*ck You Want To Public License
62 stars 4 forks source link

Atom deprecation warnings #28

Closed ckib16 closed 7 years ago

ckib16 commented 7 years ago

Hey @JoshCheek - just a head's up if you haven't seen this on Atom yet.

I'm getting 4 Atom "deprecated calls" warnings from their "Deprecation Cop". Plugin is still working, more of an FYI at this point. Seems to be mainly changes in how Atom want you to call methods.

I checked to makes sure my plugin was fully updated (2.1.0 as of 2017-01-19)

Screenshots & Text below

Deprecations Text

Deprecated calls
seeing-is-believing (4 deprecations)

This is now a view method. Call TextEditorElement::getScrollTop instead.
Report Issue
TextEditor.getScrollTop - /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3489:12
Object.withoutMovingScreenOrCursor - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:106:26
<unknown> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:66:26
ChildProcess.<anonymous> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:95:16
emitTwo - events.js:106:13
ChildProcess.emit - events.js:191:7

This is now a view method. Call TextEditorElement::setScrollTop instead.
Report Issue
TextEditor.setScrollTop - /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3494:12
Object.withoutMovingScreenOrCursor - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:111:21
<unknown> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:66:26
ChildProcess.<anonymous> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:95:16
emitTwo - events.js:106:13
ChildProcess.emit - events.js:191:7

This is now a view method. Call TextEditorElement::getScrollLeft instead.
Report Issue
TextEditor.getScrollLeft - /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3509:12
Object.withoutMovingScreenOrCursor - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:107:27
<unknown> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:66:26
ChildProcess.<anonymous> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:95:16
emitTwo - events.js:106:13
ChildProcess.emit - events.js:191:7

This is now a view method. Call TextEditorElement::setScrollLeft instead.
Report Issue
TextEditor.setScrollLeft - /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:3514:12
Object.withoutMovingScreenOrCursor - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:110:14
<unknown> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:66:26
ChildProcess.<anonymous> - /Users/Chris/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:95:16
emitTwo - events.js:106:13
ChildProcess.emit - events.js:191:7

Screenshots

screen shot 2017-01-19 at 04 48 40

screen shot 2017-01-19 at 04 48 58