Seems to be an effect of this bug: <
The bug is triggered when you have a very long line (something over 500k chars). You can stop it from happening by inserting some line breaks. If you really need the long line without line breaks then you will have to use another editor until the bug is fixed.