When using the “Format Selection” option in the script menu in Studio, it does not indent when a statement spans multiple lines.
Reproduce
Type a return statement, but have it span out multiple lines by using ‘and’, ‘or’, etc.
Now highlight the code and use the format selection option. The code will not be indented and a warning will highlight the code stating to “Statement spans multiple lines; use indentation to silence.”
Additionally, if you attempt to manually indent the code yourself, then use the format selection option again, the same result will show and the code will un-indent itself.
I am in the process of checking over bug reports and following up on some bugs that haven’t received any activity in a while.
Is this issue still occurring or can you confirm that this bug has been resolved?