Unneeded script collapse when string contains keywords

In studio’s lua editor, when loop keywords are entered, such as “then” or “do”, it creates a collapse on the side almost as if it is a loop, when its just simply a string. Works with variables or calling methods with strings as parameters.

As you can see when then is spelled theN it does not work.
It even goes as far as to indent when pressing enter, when an indention is not needed.

Simple bug, but rather annoying. Did not notice this before, but it could be a new bug.

1 Like

Thanks Beartikal! This is fixed as part of the new folds behavior. This is still in beta testing, you can enable it by going to File → Beta FeaturesScreen Shot 2020-02-20 at 3.31.25 PM


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.