Closed vasaki closed 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.prototype.displayBuffer
displayBuffer
TextEditor
DisplayBuffer
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)
this issue is the same as #25
Fixed in 1.9.4.
Thank you!!
TextEditor.prototype.displayBuffer
has always been private, but now it is gone. Reading thedisplayBuffer
property now returns a reference to the containingTextEditor
, which now provides some of the API of the defunctDisplayBuffer
class.