Henning Dieterichs
Henning Dieterichs
What solution do you propose, @Prinzhorn? I think we'd be open for a PR for this!
> My suspect is that Range is not actually working with columns, but single UTF16 code units. This is correct. > Are my assumptions correct? I think so.
I can verify, but I have no idea what causes this.
Can you elaborate why you think this causes a memory leak?
Can you provide steps of how to reproduce the memory leak in the playground?
I can reproduce. It seems like `type="module"` tokenizes the content as language `module`, which does not exist - thus the error. `type="html"`or `type="css"` works as expected.
We fixed this in vscode. The next monaco editor version will be released soon.
@okikio Can you look into why CI fails?
The CI on main is green though, thus the failure must be caused by this PR.
Do you know why this problem happens here, but not in main?