bsegraves / custom-folds

Atom plugin for defining custom markers for foldable regions.
MIT License
24 stars 9 forks source link

TextEditor.get is deprecated. #27

Closed vasaki closed 7 years ago

vasaki 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 (C:\Users\Vasily Vlasyuk\AppData\Local\atom\app-1.15.0\resources\app.asar\src\text-editor.js:105:14)
<unknown> (C:\Users\Vasily Vlasyuk\.atom\packages\custom-folds\lib\index.js:217:21)
Function.module.exports.Emitter.simpleDispatch (C:\Users\Vasily Vlasyuk\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
Emitter.emit (C:\Users\Vasily Vlasyuk\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
<unknown> (C:\Users\Vasily Vlasyuk\AppData\Local\atom\app-1.15.0\resources\app.asar\src\workspace.js:265:34)
Function.module.exports.Emitter.simpleDispatch (C:\Users\Vasily Vlasyuk\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
marcel0ll commented 7 years ago

this issue is the same as #25

bsegraves commented 7 years ago

Fixed in 1.9.4.

vasaki commented 7 years ago

Thank you!!