klorenz / atom-regex-railroad-diagrams

display regex as railroad diagram, if cursor moves to it
MIT License
250 stars 31 forks source link

TextEditor.get is deprecated. #80

Closed BlaM closed 7 years ago

BlaM commented 8 years ago

I get this message from Atom's Deprecation Cop:

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.get (C:\Users\BlaM\AppData\Local\atom\app-1.12.5\resources\app.asar\src\text-editor.js:100:14)
Object.bufferRangeForScope (C:\Users\BlaM\.atom\packages\regex-railroad-diagram\lib\regex-railroad-diagram.coffee:94:22)
Object.getRegexpBufferRange (C:\Users\BlaM\.atom\packages\regex-railroad-diagram\lib\regex-railroad-diagram.coffee:111:20)
Object.checkForRegExp (C:\Users\BlaM\.atom\packages\regex-railroad-diagram\lib\regex-railroad-diagram.coffee:164:20)
<unknown> (C:\Users\BlaM\.atom\packages\regex-railroad-diagram\lib\regex-railroad-diagram.coffee:34:26)
later (C:\Users\BlaM\AppData\Local\atom\app-1.12.5\resources\app.asar\node_modules\underscore\underscore.js:724:25)
awilliams000 commented 7 years ago

+1

hronro commented 7 years ago

Please fix it.

mistadikay commented 7 years ago

There is a PR for this already: #83 If the author of this plugin is not willing to support it anymore, he might consider to give someone else access to it. ping @klorenz 🙂

jorng commented 7 years ago

@klorenz seems to have disappeared, no activity since October. I hope he's OK... ☹️

nighter233 commented 7 years ago

+1

quanru commented 7 years ago

+1

SavageCore commented 7 years ago

There is a maintaned fork now: https://github.com/mikesprague/atom-regex-railroad-diagrams-fork

sunlery commented 7 years ago

+1

mikesprague commented 7 years ago

Closed by pull request #88