jtokoph / auto-detect-indentation

Auto detect indentation of files in Atom
MIT License
39 stars 6 forks source link

TextEditor.module.exports.Object.defineProperty.get is deprecated. #18

Open dsandstrom opened 8 years ago

dsandstrom commented 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.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)