praneshr / react-diff-viewer

A simple and beautiful text diff viewer component made with Diff and React.
https://praneshravi.in/react-diff-viewer/
MIT License
1.44k stars 273 forks source link

What are the conditions of the lines to which Expand Lines apply? #186

Open duduchi opened 1 year ago

duduchi commented 1 year ago

If the same character is Expanded, what is the difference between the expanded part and the non-expanded part?

image

ahmadbilaldev commented 10 months ago

It hides the similar parts of the diff. If you want to show the whole text, set showDiffOnly to false.