Skip to content

WinMerge add some blank lines when compare two files with line filters #988

Answered by sdottaka
littlecutebird asked this question in Q&A
Discussion options

You must be logged in to vote

I have opened two files in VSCode, notepad and haven't seen this blank line.

What you are calling a blank line is a line with a gray background? A line with a gray background is not a real line, but a virtual line that indicates that the corresponding line on one side is missing or has been deleted.

The lines on the right with a gray background is displayed because the Diff algorithm adjusted the left 2207 line and the right 2205 line to be displayed in the same position, since the contents of the left 2207 line "// Token: 0x04005FD RID: 1533" and the right 2205 line are the same.

Unfortunately, WinMerge's Line Filters are applied after the Diff algorithm has adjusted the display positi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@littlecutebird
Comment options

Answer selected by littlecutebird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants