Woof, around 1,000 lines of that can go in the bin… whitespace, commented out sections, dead code etc. I notice in Linux that the font size is bigger than in your screenshot which rings a bell about there being differences in font size rendering in Windows vs others. I can’t remember what the fix is for that.
I’ll have a look at hacking the relevant stuff in, not today though.
My brain might be failing me, either there’s something that’s done to normalise font size in either ReaScript/JSFX or maybe EEL2 in general, or I’m having a Dory day.
Btw, I haven’t forgotten about this, although I am hoping that everybody else does for a long enough time that somebody writes a JSFX formatter in the meantime. There aren’t many people around with in depth experience of the EEL2 parser I don’t think, and I think a proper formatter would need that info.
Dealing with really, really poorly formatted code adds so much tedium. I find myself reformatting everything by hand before starting.
Actually I found a solution in the tcp master track
I’ve never really used it before,
but I get much bigger text out of it than in the mixer, and bigger meters too
No worries, he should start a campaign for a code formatter on the JSFX forum. It can be tricky even for pros intimately familiar with a language implementation, although writing a more simple one might be a few hour pair programming hackathon for the likes of Frankel and Schwartz.