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.
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.
; 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.