Sublime Forum

Dev Build 3142

#21

Send me a dropbox link, or a private gist URL, or something of the sort?

0 Likes

#22

done! it arrives with wetransfere

0 Likes

#23

I tested the file with 3142 on macOS and Windows 10 and neither of them had any trouble with the file.

My hunch is that you have a third-party JavaScript syntax installed, or have .js files set to open with another syntax such as Babel.

Your file contains a few lines that are over 10k characters long. Depending on how the syntax definition is written, it is possible that certain regex patterns are used that will have very poor performance on long lines. (These would be regular expressions that utilize features requiring backtracking.) The default JavaScript syntax does not utilize such features, which is why I think it is working fine for me, and why you may be running into an issue with a third-party syntax.

I could be wrong, but that is my hunch.

1 Like

#24

Thanks! Will check it out!

0 Likes