https://webprog3.com,sametab

You still need to look along the lines, but at least the general structure of the widget is immediately apparent. It's an example of what you get when you paste coding into the Splitter Utility offered here. All it does is to split the coding into separate lines according to the critera you give it (manually).
The display you see above was achieved like this:
If you download the Splitter Utility, you can hack this routine to get the kind of splitting that you require.
The functions of the buttons at the bottom of the app are self-explanatory, I think.
Just paste your coding into the textarea provided, and use the buttons.
Hack the splitter routine according to your exact requirements if necessary,
That's all.
The Splitter Utility is for visualization only.
Don't be tempted to copy the display in the textarea and paste it into your script.
It probably won't work!
Coding which contains linebreaks gives you a different result to the same coding expressed as a single line without linebreaks.
The Standard widgets of webprog3 all need to be written in a single line.