Linking pedal lines together


I’m now editing my newest work and it has piano with pedal lines in it. I composed it in a way that the pedal lines are in sections.

Meaning that I have long bits like so:

But also sections where they are disjointed like so:

Is there any way to link them up together (so it is with a retake instead another Ped. sign) without having to rewrite one of these lines completely?

Selec the passage, right-click > Pedal Lines > Merge Pedal Lines.