Page 1 of 1

Diffs only, but with a few lines before/after each difference

Posted: Wed Apr 24, 2019 7:12 am
by MudGuard
Hi,

is there a way to show only the differences (yes, so far this is possible), but with a (configurable) number of identical lines before/after each difference visible?

(gitlab does this - it shows a few identical lines before/after each difference.)

In some cases it would help to see a bit of the code surrounding the changes, but hundreds of identical lines are not necessary ...

Thanks in advance,
Andreas

Re: Diffs only, but with a few lines before/after each difference

Posted: Wed Apr 24, 2019 8:35 am
by psguru
Yes. Options | Display | View Filter | Number of identical context lines shown with added/deleted/changed segments.

Re: Diffs only, but with a few lines before/after each difference

Posted: Wed Apr 24, 2019 10:44 am
by MudGuard
Thank you for implementing this feature so fast after my request - and even installing the fixed version on my machine ;-) ;-) ;-)

I didn't look in that section - I checked everything under Text Compare and Text Compare - Advanced, but did not look under Display ...