Set read only mode in diffs.
Fixed #36.
Merge pull request #39 from panter-dsd/fix/issues/36

Set read only mode in diffs.