Code editor behaves weirdly on my piece of code
-
I’m editing a snippet, as usual. This is a piece of code to reproduce the problem. The code itself doesn’t make much sense, I just stripped off everything that doesn’t affect the problem.
To reproduce make an empty snippet and paste this code
r.html('<path d=\"M198 0a66 66 0 0 1-87 6If you type any digit after the last ‘6’ then something weirdly breaks, a part of the code gets hidden, the cursor can’t be precisely controlled anymore. When editing real code, it’s very annoying. The code stays intact somewhere in the editor’s internals, and can even be copied and pasted to another application (like wordpad). But it is not displayed correctly and can’t be edited anymore, until last change is reverted by Ctrl-Z.
You must be logged in to reply to this topic.