transforming LineFragments into DiffInfos