pnedev / comparePlus

Compare plugin for Notepad++
GNU General Public License v3.0
1.01k stars 139 forks source link

Large file compare causing display issues #387

Open quattj opened 7 months ago

quattj commented 7 months ago

I am comparing two large files (MID files converted to text) in Windows 10. The files compare successfully, with the status bar displaying 74236 Diff Lines: 46970 Added, 24627 Removed, 1033 Moved, 583 Changed. 41551 Match file stats 1: length: 3,738,265 lines: 67,794 file stats 2: length: 5,128,377 lines: 90,137

However, once the compare is finished and I try to either do a search or scroll the windows, the vertical scrollbar in the longer file window starts twitching all over the place and eventually disappears, as do the displayed contents of the file. The contents of the shorter file also disappear after about the halfway mark.

Cancelling the compare restores the correct view of both files.

Notepad++ has been updated to 8.6.5 and ComparePlus has been updated to 1.2.0

pnedev commented 7 months ago

Thanks for the feedback. Unfortunately I cannot reproduce that behavior and because of that I cannot analyze the problem. Compare plugins are not generally meant for handling big files (or files that differ a lot) because they are not natively handling the diff marking and synchronization. If your files are not private and you could send them I can take a look and try to figure out what might be causing the problem. Otherwise I cannot do anything about that. In that case you could try using the old Compare plugin v2.0.2 to see if the problem appears again. Do you use ComparePlus with the default plugin settings?

pnedev commented 6 months ago

@quattj , Could you tell me what are your ComparePlus plugin settings when you observed the issue?

quattj commented 6 months ago

In the drop down menu, only "Detect Moves" and "Show Status Bar" are checked.

image largetxt.zip

I've included the files. It may display fine at first, but scrolling to the end or sometimes trying to jump to other spots causes it to glitch out.

I did work around it by comparing smaller areas of each file.