Open ghost opened 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 (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:101:14) Object._handleLoad (/Users/charlesearleyii/.atom/packages/auto-detect-indentation/lib/auto-detect-indentation.coffee:35:38) <unknown> (/Users/charlesearleyii/.atom/packages/auto-detect-indentation/lib/auto-detect-indentation.coffee:13:24) <unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:334:16) Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14) Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
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.