OK, I didn't realise I could specify a sequence like this.

My piece with 45 bars before the end-repeat mark gets the chords in the right place if I use...

4,4,4,4,4,4,4,4,4,4,4,1,4

...but looks odd with its 45th bar spread out over a whole line.

I can accept that a fault in the production of printed scores might be regarded as a low priority for repair, but the same fault is also visible in the Lead Sheet Window itself, and this window is presumably intended for a player to play along with, as the note currently being played is high-lighted.

As an amateur programmer myself, I can't believe that this fault would be hard to resolve, as it's part of the arithmetic surrounding the folding of a piece with repeats in it.

I've just had a look at the changes in the Lead Sheet Window when I untick the "Fake Sheet Mode" box - the 45th bar comes out as a single bar across the whole page in this mode, with the beginning of the next chorus starting at the beginning of the next line, and so on with 11 lines of 4 bars followed by a single bar until the final bars - all with the chords in the correct place.

I'll report back on any progress - thanks for your help.