Open dsandstrom opened 8 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.module.exports.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:87:14) Object._handleLoad (/Users/dsandstrom/.atom/packages/auto-detect-indentation/lib/auto-detect-indentation.coffee:34:25) <unknown> (/Users/dsandstrom/.atom/packages/auto-detect-indentation/lib/auto-detect-indentation.coffee:13:24) Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:309:9) Object.activate (/Users/dsandstrom/.atom/packages/auto-detect-indentation/lib/auto-detect-indentation.coffee:11:43) Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
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.