atom-fold-comments
atom-fold-comments copied to clipboard
TextEditor.displayBuffer is deprecated.
I got the following deprecation warning when using the toggle comments folding :
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.displayBuffer (<embedded>:6:61)
<unknown> (/home/pauldance/.atom/packages/fold-comments/lib/fold-comments.coffee:32:27)
Workspace.observeTextEditors (<embedded>:11:428089)
Object.activate (/home/pauldance/.atom/packages/fold-comments/lib/fold-comments.coffee:30:31)
Package.activateNow (<embedded>:11:2921267)
activationCommandSubscriptions.add.commandRegistry.onWillDispatch.n (<embedded>:14:1717)
I'm going to leave this one open perhaps just to stop future potential issue posters from putting in an obvious duplicate, but this is a dupe and has been addressed many times: https://github.com/jescalan/atom-fold-comments/issues?q=is%3Aissue+is%3Aclosed