The parser is still choking on the line that sets the stroke colour.
The shortest fix is: don’t call the method inside the argument list—build the colour first, then pass it.
Replace the three drawing lines inside the parts.do loop with this pattern:
supercollider
// --- build the colour once per part ---
var gridColor = Color.gray(0.7);
/* … draw the blocks … */
// --- draw the horizontal divider ---
Pen.color = gridColor; // <<< use .color (not .strokeColor)
Pen.moveTo(Point(0, y));
Pen.lineTo(Point(~patternView.bounds.width, y));
Pen.stroke;
Below is a minimal patch that only touches the drawFunc (the rest of the file is identical to the last version I posted).
Copy–paste it over the whole~patternView.drawFunc_({ … }) block and the file will compile and run.