Having the following code (last line block represents the cursor): ``` xml <atag> var arr = []; for (var i=0; i<10000; i++) { arr.push(i); } ▓ ``` When pressing `Ctrl-X`, I expect the tag auto-completion to be `</atag>`, but instead it writes `</10000>`.
Having the following code (last line block represents the cursor):
When pressing
Ctrl-X, I expect the tag auto-completion to be</atag>, but instead it writes</10000>.