Skip to content

Commit 51bac3f

Browse files
committed
[[ Diff ]] Don’t include position of additions when keeping track of source indices.
1 parent c597e53 commit 51bac3f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

extensions/script-libraries/diff/diff.livecodescript

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ end add_deletion
299299

300300
private command add_addition @pHunk, pIndex, pContent
301301
add_context_before pHunk, pIndex + 1
302-
if pHunk[kFirstSourceIndex] is empty then
303-
put pIndex into pHunk[kFirstSourceIndex]
304-
end if
305-
put pIndex into pHunk[kLastSourceIndex]
306302
put "+" & pContent after pHunk[kContent]
307303
add 1 to pHunk[kDelta]
308304

0 commit comments

Comments
 (0)