Implement inline diff.