This example shows you how to merge two curve segments, using the Curve Editor tab. This uses the curves generated in the cutting a curve example.
If no segments are selected then all segments are merged.