• Login
Community
  • Login

Compare Plugin v2.0 updated for Notepad 7.7 and above

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
37 Posts 16 Posters 39.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    guy038
    last edited by guy038 Jun 14, 2019, 10:57 PM Jun 14, 2019, 10:52 PM

    Hi, @pnedev and All,

    • 10s to download your new build

    • 5s to create a new directory ComparePlugin, under my local configuration D:\@@\770\Plugins

    • 10s to extract the ComparePlugin.dll and the ComparePlugin folder inside this new directory

    • 5s to re-start Notepad v7.7.0

    • And, from now on, the privilege of using this must plugin, as your new build is OK, too, with my old Windows XP SP3 system :-))


    This post gives me the opportunity to talk about your future ComparePlus version, again ! Refer to the link, below :

    https://notepad-plus-plus.org/community/topic/17546/compare-plugin-unable-to-turn-off-synchronize-vertical-scrolling-version-7-6-6-with-compare-v2/29

    You said, at the end of this post :

    I’m still in the process of developing the smart change detection and I will try to make a good compromise between accuracy and compare speed.

    And I was wondering if, having a setting to choose between the Compare v2.0.0 and the Compare v3.0.0 behaviors of comparing, would make your coding phase easier ? Indeed, by doing so, you would not have to do any compromise, as you would propose the two native behaviors, just the old and the new ones !

    Of course, Pavel, just a suggestion :-))

    Cheers,

    guy038

    1 Reply Last reply Reply Quote 1
    • P
      pnedev
      last edited by Jun 17, 2019, 7:37 AM

      Hi @guy038 ,

      That is actually a very good suggestion as it is difficult to find the “best” balance (because of the different compare cases) :)
      Thank you.

      BR

      1 Reply Last reply Reply Quote 1
      • 汪
        汪Jerrie
        last edited by Jul 3, 2019, 1:58 AM

        I’m a new user,so how to install this plugin?Thanks.

        E 1 Reply Last reply Jul 3, 2019, 11:17 AM Reply Quote 0
        • E
          Ekopalypse @汪Jerrie
          last edited by Jul 3, 2019, 11:17 AM

          @汪Jerrie
          use plugins admin from plugin menu.

          1 Reply Last reply Reply Quote 0
          • V
            vjs-xx
            last edited by Jul 5, 2019, 2:36 PM

            I recently updated to 7.7.1 (64-bit) and for me the synced scrolling broke too.

            In looking at the View Menu …

            Before starting a compare :-
            both Synchronize Vertical Scrolling and Synchronize Horizontal Scrolling are greyed out.

            When compare opens :-
            Synchronize Vertical Scrolling is UNCHECKED
            Synchronize Horizontal Scrolling is CHECKED
            Behaviour is consistent with these settings.

            Checking the Synchronize Vertical Scrolling option restores the pre-upgrade normal synchronized scrolling

            I cannot see any way to make that setting stick. If I evit Compare, and then restart it, the setting is lost.

            V 1 Reply Last reply Jul 5, 2019, 3:25 PM Reply Quote 0
            • V
              vjs-xx @vjs-xx
              last edited by Jul 5, 2019, 3:25 PM

              @vjs-xx said:

              I recently updated to 7.7.1 (64-bit) and for me the synced scrolling broke too.

              In looking at the View Menu …

              Before starting a compare :-
              both Synchronize Vertical Scrolling and Synchronize Horizontal Scrolling are greyed out.

              When compare opens :-
              Synchronize Vertical Scrolling is UNCHECKED
              Synchronize Horizontal Scrolling is CHECKED
              Behaviour is consistent with these settings.

              Checking the Synchronize Vertical Scrolling option restores the pre-upgrade normal synchronized scrolling

              I cannot see any way to make that setting stick. If I evit Compare, and then restart it, the setting is lost.

              Having read the comments about and old and a new plugin, I checked the plugins directory and found that the ComparePlugin.dll file was dated from February 2019.

              I used the Plugin Admin to remove the Compare Plugin, and after Notepad+ restarted, I used the Plugin Admin to add back the Compare Plugin again. The new DLL is dated from July 2019.

              Now, the scrolling works as expected (notwithstanding that the Synchronize Vertical Scrolling option is still unchecked)

              So, it seems like the updater is not checking and updating the Compare Plugin if it is already installed. Perhaps the issue is that both versions are labeled as version 2 and it cannot detect the change.

              1 Reply Last reply Reply Quote 2
              • P
                pnedev
                last edited by Jul 8, 2019, 11:27 AM

                @vjs-xx ,

                That’s the normal behavior of the vertical scroll setting in the menu when comparing.
                Compare plugin does vertical scrolling on its own and it disables the Notepad++ internal one.

                You are right, the plugin doesn’t update on its own because the Compare versions are the same.

                BR

                1 Reply Last reply Reply Quote 1
                • B
                  Buddler
                  last edited by Jul 9, 2019, 12:22 PM

                  When I compare two files beeing 66 MB, the compare plugin will freeze / stop comparing after reaching maybe 40 %.
                  Is there any limit?
                  RAM and other memory looks good / still has plenty of ressources.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pnedev
                    last edited by Jul 9, 2019, 2:36 PM

                    @Buddler ,

                    In some cases compare might take considerable time.
                    I don’t know if that’s your case but try waiting some time.

                    BR

                    1 Reply Last reply Reply Quote 0
                    • I
                      igitthatalot
                      last edited by Nov 20, 2019, 4:22 PM

                      had this problem after updating to 7.8.1. was working fine on 7.5.8.

                      installing the plugin from https://github.com/pnedev/compare-plugin/releases to C:\Program Files\Notepad++\plugins\ComparePlugin replacing the dlls that were there has solved the scrolling problem.

                      I noticed a while ago that compare plugin no longer shows up in the repository of plugin updates. can that be corrected? as it would be nice to just select it from a list rather than having to push files to every machine.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pnedev
                        last edited by Nov 27, 2019, 8:59 AM

                        @igitthatalot ,

                        Were you upgrading Notepad++ from v7.5.8 to v7.8.1?
                        If that’s the case the plugin handling since 7.5.8 has been changed. The Plugin Manager is no longer used and in its place now is the Plugin Admin. Start Notepad++ and select from the menu Plugins -> Plugins Admin....
                        You can select and install any plugins you need from there.

                        BR

                        I 1 Reply Last reply Nov 29, 2019, 9:29 PM Reply Quote 2
                        • I
                          igitthatalot @pnedev
                          last edited by Nov 29, 2019, 9:29 PM

                          Well whatever you want to call the ‘way to administrate plugins’ the result is the same. There is no compare plugin listed.

                          4de8d0ef-f7f4-4fab-a65d-b99ee77bb699-image.png

                          E 1 Reply Last reply Nov 30, 2019, 12:15 PM Reply Quote 0
                          • E
                            Ekopalypse @igitthatalot
                            last edited by Ekopalypse Nov 30, 2019, 12:16 PM Nov 30, 2019, 12:15 PM

                            @igitthatalot

                            it is visible under Available tab but only unless you install it

                            0404fd9b-beb7-438f-8fb0-0a337ca7da5c-image.png

                            Once you installed it, it is visible under Installled tab.

                            1 Reply Last reply Reply Quote 5
                            • G_Shank17G
                              G_Shank17
                              last edited by Dec 12, 2019, 4:25 PM

                              having problem with installing the compare plugin. when i restart notepad++ it gives me an error compare plugin is not compatible cannot load 32 bit plugin

                              E 1 Reply Last reply Dec 12, 2019, 7:15 PM Reply Quote 0
                              • E
                                Ekopalypse @G_Shank17
                                last edited by Dec 12, 2019, 7:15 PM

                                @G_Shank17
                                this normally happens if you try to install a 32bit plugin but using the 64bit npp version.
                                Use plugin admin to install it as it will download the correct version.

                                1 Reply Last reply Reply Quote 2
                                • tjpsnjT
                                  tjpsnj
                                  last edited by Feb 2, 2020, 10:44 PM

                                  Soooo…
                                  Can someone just say how to manually install the 64bit plugin with ComparePlugin.dll git2.dll and sqlite3.dll?
                                  I just need it to work inside a closed network. Not to mention the manager does not work on a test machine that can.
                                  Thanks if you can save me the time.
                                  Tom

                                  P 1 Reply Last reply Feb 3, 2020, 8:19 AM Reply Quote 0
                                  • P
                                    pnedev @tjpsnj
                                    last edited by Feb 3, 2020, 8:19 AM

                                    @tjpsnj ,

                                    Please read this:
                                    https://github.com/pnedev/compare-plugin/issues/225 .

                                    Tell me if you still have problems.

                                    BR

                                    1 Reply Last reply Reply Quote 1
                                    • Robert WernerR
                                      Robert Werner
                                      last edited by Mar 23, 2020, 4:41 PM

                                      I am unable to get the compare plugin to work at all. Using v 7.8.4 and have checked the compare box. I see a download, but nothing happens (no download). I tried the link in this blog and still can’t see the plugin as an option when I unzip and move it into notepad + +\plugins. Any help appreciated.

                                      PeterJonesP P 2 Replies Last reply Mar 23, 2020, 5:25 PM Reply Quote 0
                                      • PeterJonesP
                                        PeterJones @Robert Werner
                                        last edited by Mar 23, 2020, 5:25 PM

                                        @Robert-Werner ,

                                        You asked about that over here already. Please don’t ask about the same issue in multiple threads; it makes it hard to follow.

                                        You need some patience; we aren’t paid 24/7 support; we are fellow Notepad++ users who come on this forum voluntarily to help other Notepad++ users; some are on European time, some are on US Pacific coast time, so the hours we will be around vary; and most of us have day jobs and lives outside of work that make responding to forum posts not the hightest priority; waiting 2-4 hours is not unreasonable

                                        I will respond to details in your original thread.

                                        1 Reply Last reply Reply Quote 1
                                        • P
                                          pnedev @Robert Werner
                                          last edited by Mar 23, 2020, 5:36 PM

                                          @Robert-Werner ,

                                          Read here:
                                          https://github.com/pnedev/compare-plugin/issues/225

                                          BR

                                          1 Reply Last reply Reply Quote 2
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors