Open lowercasedots opened 8 years ago
Hi @digitalsms, thanks for the report, I think I've got this issue a few times too when 1.9.0 was still in -dev
release, but, as you, I couldn't find good reproduction steps.
It also appears it has been already reported several times on atom core (see https://github.com/atom/atom/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20Invalid%20text%20decoration%20iterator%20position) and adding a guard to catch the error would make the whole routine unoptimized for v8 (which refuses to optimize methods with a try...catch
construct) so for the time being I don't think it would be wise to do so.
Can't reproduce with 100% reliability, however when it occurs it's just after opening a file - typically a php file, although it's happened in scss as well - and then I start to scroll down a bit. If the issue happens it'll usually be within a few moments of scrolling.
In this case I had just loaded functions.php for wordpress, and the error popped up before I'd even made two flicks of the scroll wheel:
Atom Version: 1.9.0-beta0 System: Microsoft Windows 7 Professional Thrown From: minimap package, v4.24.6
Stack Trace
Uncaught Error: Invalid text decoration iterator position: (101, 125). Buffer row 101 has length 157.
Commands
Config
Installed Packages