@dc42 This is true, but it was a long print and I want to define the pressure advance by feature without a few thousand human interactions. I ended up noting the layer height, stopping the program, doing a find/replace in a text editor, deleting all the lines up to the layer I left off on, and starting a new print. It would be useful if we could pause a program and edit the gcode that's yet to be printed.
This is what I was testing:
{REPLACE "; feature inner perimeter" "; feature inner perimeter\nM572 D0 S0"}
{REPLACE "; feature outer perimeter" "; feature outer perimeter\nM572 D0 S0.85"}
{REPLACE "; feature solid layer" "; feature solid layer\nM572 D0 S0.85"}
{REPLACE "; feature infill" "; feature infill\nM572 D0 S0"}
{REPLACE "; feature dense infill" "; feature dense infill\nM572 D0 S0"}
{REPLACE "; feature gap fill" "; feature gap fill\nM572 D0 S0"}
{REPLACE "; feature external single extrusion" "; feature external single extrusion\nM572 D0 S0.85"}
{REPLACE "; feature skirt" "; feature skirt\nM572 D0 S0"}