Typing code features has this bug

Look I was just messing around with the typing editor and take a look at this
Screenshot 2021-01-04 at 2.18.03 PM
Screenshot 2021-01-04 at 2.22.34 PM
Why does this happen? I was just typing the code and accidentally did this...
Uhh...

https://forum.snap.berkeley.edu/t/weird-stack-blocks-after-cap-blocks/4770/13