tweecode / twine

UI for creating hypertext stories
http://twinery.org
656 stars 97 forks source link

Strange auto-tabbing behavior #187

Open michaelwcrampon opened 7 years ago

michaelwcrampon commented 7 years ago

When writing javascript if I write a switch statement the close } will get tabbed in ~7 tabs further than it should be. This behavior was consistent across multiple switch statement.

Subsequent }'s correctly autotab and the code at issue compiles and runs fine, it seems to just be an oddity with switches.

This was seen on a windows machine using local development.