Parsing Errors or Crashes When Entering Certain Control Characters in Parameters or Comments
Expected Behavior
Entering control characters like the ESC character in parameters or comments should not cause any issues.
Actual Behavior
Entering control characters like the ESC character in parameters or comments causes parsing errors or even crashes the editor. I wrote some code containing the ESC control character (rendered as a left arrow in the interface).
After navigating to the Costumes tab and returning to the code tab, the following error appeared:
Upon saving the project as an .sb3 file and reloading it, I found that the code following the ESC character had disappeared:
In my tests, I inserted text containing the ESC character in comments and parameters, which revealed the following issues, although I was unable to reproduce the crash: https://github.com/user-attachments/assets/fb266bb7-0425-4d1f-ae04-5730b615d1ef
Steps to Reproduce
- Open the TurboWarp editor.
- Enter the ESC character in a parameter.
- Observe that the parameter text disappears, and the code following that block disappears.
Operating System and Browser
Operating System: Linux
Browser: Chromium
where did these new blocks come from?
where did these new blocks come from?
You say these extensions?
Yeah. Cuz I don't see it in the block palette
Yeah. Cuz I don't see it in the block palette
https://github.com/NOname-awa/Scr_ext/tree/main/extensions/Stable-Release
wait nvm, idk why