The code folding feature of the studio script editor is broken in that you can’t unfold anything which isn’t the top-most line (as in, on the lowest line number).
Start with the following code:
Press ctrl + shift + e to fold everything:
Then attempt to unfold line 5 and you’ll see nothing happen.
This can be reproduced 100% of the time on my system. I believe it started happening about a year ago.
The painful workaround is to unfold everything above the folded code bit. E.g., in this case, unfold line 1, then line 5. The ez workaround which totally negates the point of the code folding feature is to unfold everything with ctrl + e.
Indeed. Also this one, but it was a year old and I already steered the conversation in the wrong way, so I opted to make a new thread instead of bumping it.
Ah, nice! This is a pretty good workaround, albeit unintuitive to come across on one’s own.
Edit: for those who’d like an AutoHotKey script, I wrote one for my own benefit. This maps the Mouse5 button (browser forward) to the triple click.
#SingleInstance force
; The next line prevents the mouse from moving while a "Click" (or similar mouse operation) is
; underway. This requires running the executable as an administrator.
; If you don't, the only consequence is that the triple click may click different pixels, so you
; won't get the full-line-selection you wanted.
BlockInput Mouse
XButton2::
Click 3
Other people and I have already reported this issue and Roblox knows about it.
I don’t know when it began to occur, but it’s been six months since my report.
It’s possible they closed their bug report as fixed accidentally, or simply just have it ranked at too low priority. I’m tryna light a fire under them.