klorenz / atom-table-editor

Easily edit and navigate markdown tables
MIT License
13 stars 3 forks source link

getSelectionRanges stalls in endlessloop #6

Open ERFier opened 7 years ago

ERFier commented 7 years ago

The check performed in table-formater.coffee line 181 - 183 leads to an endless loop if the table was changed e.g. a newline removed.

The bug is reproducable using the testfile. Try to add a newline pressing shift+enter and the execution freezed at the said lines.