added multiline support for diff