Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set filter to ignore specific line? #2319

Open
JStanula opened this issue May 7, 2024 · 1 comment
Open

How to set filter to ignore specific line? #2319

JStanula opened this issue May 7, 2024 · 1 comment

Comments

@JStanula
Copy link

JStanula commented May 7, 2024

Hi,
I've got two files to compare. The files are scripts/text in LaTex language.

In my first file I've got example line:

This house is red. %MOD

In my second file:

This house is blue.

I want to set filter that will ignore every line which contains '%MOD'. Keep in mind the '%MOD' appears only on first file. So if line in first file contains '%MOD' I don't care if there's a change in second one or not. How can be done,??

@sdottaka
Copy link
Member

sdottaka commented May 7, 2024

WinMerge can use Line filters to ignore differences in lines if the second file also contains %MOD. But unfortunately, I don't think WinMerge can ignore the difference in %MOD lines if one of the files doesn't contain %MOD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants