sveale / remote-edit

remote-edit
MIT License
146 stars 55 forks source link

TextEditor.get is deprecated. #209

Open biffster opened 7 years ago

biffster commented 7 years ago

TextEditor.prototype.displayBuffer has always been private, but now it is gone. Reading the displayBuffer property now returns a reference to the containing TextEditor, which now provides some of the API of the defunct DisplayBuffer class.

TextEditor.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:101:14)
Object.<anonymous> (/Users/mifierro/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:18:39)
Object.<anonymous> (/Users/mifierro/.atom/packages/remote-edit/lib/model/remote-edit-editor.coffee:260:4)
Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
Object..coffee (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
Module.load (module.js:473:32)