Closed NetOpWibby closed 7 years ago
I can't reproduce the issue. Are you using the current version of the package?
There is neither a call to TextEditor.get
nor an access of TextEditor.prototype.displayBuffer
in the package, or am I missing something? Line 50 in auto-fold.coffee, which your Stacktrace points to, calls isBufferRowCommented
, which is a documented function (see https://github.com/MackieLoeffel/atom-auto-fold/blob/master/lib/auto-fold.coffee#L50).
This is what I see.
My Atom version is 1.13.0 and auto-fold is 0.3.0
Ah, ok, it is a deprecation warning. Thank you very much for reporting. It should be fixed in the newest version.
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.