Closed sosuke-k closed 9 years ago
@rooa I added the following new files:
but, please skip javascripts folder and stylesheets folder and you still don't have to read the files related to testing (e.g. struct_test.go) because I don't really recognize testing...TT
@sosuke-k thanks, I'll look up the codes but it seem that it takes time for me to finish reading. I'll check it by tmr.
Can 2,0,2,2,2
happen? In this case it should be 2,0,0,0,0
if my understanding is correct.
it should be 2,0,2,2,2
because
https://github.com/sosuke-k/hyena/pull/76/files#diff-0e7214ef20fcc722f1c5a43fe44d2afdR139
In this line, LineNumberSequence.push({line number})
,
but no diff can not run this line.
so
https://github.com/sosuke-k/hyena/pull/76/files#diff-0e7214ef20fcc722f1c5a43fe44d2afdR164
In this line , I push 0 to regulate LineNumberSequence's length.
So it's a dummy 0 when there's no change in the commit of a file. I see
@sosuke-k lgtm
@rooa I'll merge it.
Why
hyena save
history graphically and restore the past state.What
How
Animation
Data
-1
means this line is still not added or already deleted.0
means the current line number and the last line number of this line are same.2,0,2,2,2
->2,2,2,2,2
、3,0,-1,0,0
->3,3,-1,-1,-1