mookid / diffr

Yet another diff highlighting tool
MIT License
572 stars 22 forks source link

paint_line: fix painting of multiple-lines-spanning snakes. #17

Closed mookid closed 5 years ago

mookid commented 5 years ago

The output was wrong because of these snakes: the first line that contain it was printed correctly, then starting from the next line the snake was skipped.

It resulted in the span until the end of the snake being highlighted.

mookid commented 5 years ago

@ghuls: I think that this is a proper fix for #15.

ghuls commented 5 years ago

@mookid: It indeed seems to be fixed.

Thanks a lot. diffr is a really useful program.