-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Latest test build of Notepad++ crashed when Compare #275
Comments
Seems like an easy fix, just add the latest from Notepad++ repo:
To your repo at:
And recompile. I'm using that experiment test compiled version I did locally with VS2019 an it's working fine so far! Cheers. |
FYI: per this and this, with v8.2.2 RC5, the NPP installer is actively disabling ComparePlugin for anyone who has it already installed, and that might mean he's also removed it from Plugins Admin (though I'm not sure) -- which means that users are going to have to start fighting against Don unless an update-with-patch is released ASAP (preferably before v8.2.2 is fully released) |
@vinsworldcom , @pryrt , Michael, Peter, thanks for the heads-up 👍 |
@pnedev maybe, but looking here https://community.notepad-plus-plus.org/topic/22471/recompile-your-x64-plugins-with-new-header That's all @donho mentions. I did a quick recompile of the compare plug-in with just the scintilla.h and sci_position.h files updated and it seems to work okay without crashing for me. Also of note, I didn't realize pulling the main branch of your git repo would get me ComparePlus. So that's the one I did originally and that seemed to work fine as well with just those header file changes. Granted I only did some simple compares with both ComparePlus and compare plugin (my newly compiled versions), but neither of them crashed Notepad++ as the previous version of compare-plugin did. Cheers. |
Hello Pavel,
👍 May I ask if adapting the current ComparePlus to NPP 64-bit would require much more work? BR |
From my comment above you can see in my haste, I replaced the headers and compiled ComparePlus and was using it on 64-bit Notepad++ development (8.2.2) and for the simple compares I was doing - it worked fine. Cheers. |
Thank you for the info. Pavel recommended not to use ComparePlus 64-bit about two years ago. :) |
Thanks @vinsworldcom . Hi @Yaron10 , I hope you are doing well :) It will be difficult at the moment to provide 64bit fix to ComparePlus in master. I really hope to be ready in a month with the first release, thanks for understanding. BR |
Hello Pavel, I hope you are doing well too. :) No problem at all. I'm glad you've found some time to Compare. BR |
@vinsworldcom , @pryrt , The new release 2.0.2 is ready, I have made a PR to NppPluginList. Thanks once again! |
Hello Pavel, 👍 BR |
Hello Yaron, Thank you. BR |
@pnedev just tested - works great! Thank you for the quick turn around and continuing to support excellent (and in my opinion - "essential") N++ plugins. |
@vinsworldcom , |
Seems to be working fine for me. I'll probably keep ComparePlugin installed, but not active and use ComparePlus (with my simple header changes) for a while to get used to it. I'll let you know if anything is amiss. Also note I'm not comparing files greater than 10Mb on the regular so will probably never hit any >2Gb specific issues dealing with text ranges that may not yet be fixed in the ComparePlus version. Thanks for you work on this - it's really invaluable, not just for side-by-side diffs of regular files, but the "Git Diff" I use during most Notepad++ coding sessions. Better than my GitSCM plugin that relies on external TortoiseGit to give the visual side-by-side diff. Cheers. |
Thank you @vinsworldcom 👍 |
Hello Pavel, The break has been relatively short this time. :) Thank you very much for 6b7bf7f. I've been using the 64-bit version for the last couple of months. You can update. |
Hello Yaron, Nice 'hearing' from you again, I'm OK, thank you. :)
Don't even mention it ;))) I would recommend using the temporary build 3f412a1 which uses multiple threads in changes detection phase speeding up compares with many changed sections. BR, |
Hello Pavel, I'm glad you're well. I've updated to 3f412a1. BR |
@pnedev I've been using ComparePlus since the Notepad++ 8.2.2 / 8.3 plugin breaking change and have had no issues. Much better than the original! I've updated to the latest version you recommend and will continue to use in my daily workflow. Should also mention I'm using the latest Notepad++ 8.3.3 commit including the Scintilla 5 upgrade: Working well so far! Thank you for continued improvements to this excellent Notepad++ plugin! Cheers. |
Using the latest test builds of Notepad++ where greater than 2Gb file editing is trying to be enabled, comparing regular small files fails with a crash.
Notepad++ v8.2.1 (64-bit) [NOTE THIS IS USING COMMIT]
Build time : Jan 29 2022 - 14:26:54
Path : C:\usr\bin\npp64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 2009
OS Build : 19042.1466
Current ANSI codepage : 1252
Plugins : AutoSave.dll BetterMultiSelection.dll ChangedLines.dll CodeAlignmentNpp.dll ComparePlugin.dll CustomizeToolbar.dll Explorer.dll GitSCM.dll JSMinNPP.dll MarkdownPanel.dll NppExec.dll NppFTP.dll NppMenuSearch.dll PythonScript.dll QuickText.dll SurroundSelection.dll TagLEET.dll XMLTools.dll ZoomDisabler.dll
The text was updated successfully, but these errors were encountered: