Script editor does not eat extra enclosing characters that were automatically inserted

This seems to be a recent bug, where autocomplete will not let me complete my own syntax. Here is a repro!

Unexpected behavior: the characters are doubly inserted as I type them.

Expected behavior: the editor should eat the enclosing characters I type if they are already present.

13 Likes

Uhh, hasn’t this been a thing for a very long time? I remember getting kind of annoyed but then I got used to not typing ()

This is a recent change, the script editor used to just eat the extra enclosing characters as they were typed.

Found this in Discord 3 months ago.
https://cdn.discordapp.com/attachments/142706044416688128/598689477677940746/BJG0oIC0rI.mp4

6 Likes

This was caused by a related bug fix. We have just reverted the change and will try the fix again in a different way.

1 Like