Closed NKjoep closed 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) Function.selectScope (/Users/andreadessi/.atom/packages/expand-region/lib/selector.coffee:60:28) <unknown> (/Users/andreadessi/.atom/packages/expand-region/lib/selector.coffee:22:32) <unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2467:13) TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2544:18) TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2506:35)
@aki77 Same issue with me here.
+1
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.