Closed styx closed 6 years ago
Not an expert but it seems it now should be:
[startRow, endRow] = editor.rowRangeForParagraphAtBufferRow(currentRow) ? []
Works for me in my fork. If it's OK I can make a PR. I only wonder, how should two Atom API version be managed?
Thanks for the report. I will fix it when version 1.22.0 is officially released.
@aki77 Just upgraded to v1.22 and ran into this issue. I look forward to the upcoming fix—thanks for your work on this package!
Caleb
Thanks for the report. Please try latest version.
@aki77 Works perfectly again, thanks very much ^_^
Steps to reproduce:
Atom: 1.22.0-beta0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: expand-region package 0.3.2
Stack Trace
Uncaught TypeError: languageMode.rowRangeForFoldAtBufferRow is not a function
Commands
Non-Core Packages