diff: keep same line edit in the same line

Fixed #50