linked-rolls
    Preparing search index...

    Function mergeFeatures

    • Replaces the features of the copy with a single one covering them all, where a scan has split what the editor reads as one feature. The merged feature takes the place of the first it replaces and spans from the first to the last, any gap between them included. What the replaced features carried is carried by the merged one, and whatever else named them, a modification or a comprehension, names the merged one in their stead.

      Only the features the copy bears itself are merged. A feature of a patch states no place along the roll of its own, so there is nothing for a merge to span, and an id naming one is passed over as an id the copy does not bear is. Features of two different acts are not merged either: one feature is the work of one act.

      Throws where the features cannot stand for one; mergeObstacle says beforehand whether they can.

      Parameters

      • copyId: string
      • featureIds: readonly string[]

      Returns EditionOp