albfan / jmeld

A visual diff and merge tool
44 stars 31 forks source link

Simplify build solution path #32

Open albfan opened 8 years ago

albfan commented 8 years ago

Every change has the same hierarchy.

a JMRevision has n deltas. Everyone has two JMChunks (original and revised) with an anchor (offset of change in buffer) and size (number of characters affected)

Use that to calculate delta borders and solution path.