Changed multiple parts of the algorithm so that the diffs returned have startIndex and endIndex values.
Changed multiple parts of the algorithm so that the diffs returned have startIndex and endIndex values.

edduarte/indexed-diff-match-patch