Community
    • 登入

    Compare Plugin v2.0 updated for Notepad 7.7 and above

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    37 貼文 16 Posters 43.2k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • pnedevP
      pnedev
      最後由 pnedev 編輯

      The title really says it all.
      Here is the new build.

      BR

      Alan KilbornA 1 條回覆 最後回覆 回覆 引用 10
      • Alan KilbornA
        Alan Kilborn @pnedev
        最後由 編輯

        @pnedev said:

        The title really says it all.

        Rarely is this true but I guess this time it is. Nice.

        1 條回覆 最後回覆 回覆 引用 3
        • Pedro David MarcoP
          Pedro David Marco
          最後由 Pedro David Marco 編輯

          Hi…

          Now in the Compare NavBar i have to move down each file at a time… to me it is pretty uncomfortable… is there any way ot make them behave like before to move both files down at the same time?

          Thanks!

          1 條回覆 最後回覆 回覆 引用 0
          • pnedevP
            pnedev
            最後由 編輯

            Hi @Pedro-David-Marco ,

            I’ll check and fix that, thanks.

            BR

            Pedro David MarcoP 1 條回覆 最後回覆 回覆 引用 2
            • Pedro David MarcoP
              Pedro David Marco @pnedev
              最後由 編輯

              @pnedev said:

              Hi @Pedro-David-Marco ,

              I’ll check and fix that, thanks.

              BR

              Thanks a lot !!! we look forward it…

              1 條回覆 最後回覆 回覆 引用 0
              • pnedevP
                pnedev
                最後由 編輯

                Hi @Pedro-David-Marco ,

                I couldn’t reproduce the problem you experience.

                Could you confirm that your Notepad++ version is 7.7 and the Compare plugin is v2 from the link in my first post here?
                I suppose this is the case but let’s just be sure.

                Next, Please remove all your other plugins and try again. Tell me if the problem is still there.

                Thanks and BR

                Pedro David MarcoP 1 條回覆 最後回覆 回覆 引用 1
                • Pedro David MarcoP
                  Pedro David Marco @pnedev
                  最後由 編輯

                  @pnedev

                  Hi Pavel…

                  Yes, both ar top versions… if i get back to older versions… it works properly again…

                  I have reviewed all notepad++ settings just in case it is due to any new setting that causes the problem, not no luck… i still need to move both files one by one when comparing… i thought it was a new feature in compare :-(

                  BR,

                  Pedro.

                  1 條回覆 最後回覆 回覆 引用 0
                  • pnedevP
                    pnedev
                    最後由 編輯

                    Hi @Pedro-David-Marco ,

                    Hm, really strange.

                    Have you tried removing all your other plugins?

                    BR

                    Pedro David MarcoP 1 條回覆 最後回覆 回覆 引用 1
                    • Pedro David MarcoP
                      Pedro David Marco @pnedev
                      最後由 編輯

                      @pnedev said:

                      Hi @Pedro-David-Marco ,

                      Hm, really strange.

                      Have you tried removing all your other plugins?

                      BR

                      Yes, i have tried it, no better luck…

                      I have downgraded Notepad but not compare… (notepad++ 7.6.6 with Compare 2) and then Compare works ok. :-( so it must be something Notepad related…

                      Any Notepad setting maybe?

                      BR…

                      1 條回覆 最後回覆 回覆 引用 0
                      • pnedevP
                        pnedev
                        最後由 編輯

                        @Pedro-David-Marco ,

                        If you “downgrade” Notepad++ to version prior 7.7 you need to also use the “old” Compare v2.
                        Compare v2 has two builds - one for Notepad++ 7.7 and above and another for Notepad++ version below 7.7.

                        Please do not mix them.

                        I really don’t know what might be causing this issue on your side.
                        The last thing you could try is get a clean portable Notepad++ 7.7 64-bit and get this Compare build.

                        If you try this please write what’s the result.

                        Guys,
                        Anyone else experiencing the same or similar issue?

                        BR

                        EkopalypseE Meta ChuhM Pedro David MarcoP 3 條回覆 最後回覆 回覆 引用 3
                        • EkopalypseE
                          Ekopalypse @pnedev
                          最後由 編輯

                          @pnedev

                          if I understand correctly issue is with scrolling both views, if so,
                          no, is working fine here. Click on Navbar scrolls bot views and scrolling
                          in an editor, scrolls the other as well. Noticed, that it seems to ignore the
                          horizontal/verticals standard settings.

                          Notepad++ v7.7 (64-bit)
                          Build time : May 12 2019 - 01:26:14
                          Path : D:\Tests\npp\770\x64\notepad++.exe
                          Admin mode : OFF
                          Local Conf mode : ON
                          OS : Windows 7 (64-bit)
                          Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExec.dll PythonScript.dll

                          1 條回覆 最後回覆 回覆 引用 3
                          • Meta ChuhM
                            Meta Chuh moderator @pnedev
                            最後由 Meta Chuh 編輯

                            @pnedev

                            all good for me too on 7.7.
                            both views are in sync.

                            i’ve just tested it on notepad++ 7.7 x86 and x64, using ComparePlugin_v2.0.0_npp7.7_x86.zip and ComparePlugin_v2.0.0_npp7.7_X64.zip.

                            debug info:
                            Notepad++ v7.7 (32-bit)
                            Build time : May 19 2019 - 13:08:20
                            Path : C:\Users\User\Desktop\npp.7.7.bin\notepad++.exe
                            Admin mode : OFF
                            Local Conf mode : ON
                            OS : Windows 7 (64-bit)
                            Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll

                            Notepad++ v7.7 (64-bit)
                            Build time : May 19 2019 - 13:05:35
                            Path : C:\Users\User\Desktop\npp.7.7.bin.x64\notepad++.exe
                            Admin mode : OFF
                            Local Conf mode : ON
                            OS : Windows 7 (64-bit)
                            Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll

                            best regards.

                            1 條回覆 最後回覆 回覆 引用 3
                            • Michael VincentM
                              Michael Vincent
                              最後由 Michael Vincent 編輯

                              Same for me Notepad++ 7.7 64-bit with special Compare 2 for Notepad++ 7.7+, works fine!

                              Agree with @Ekopalypse in that although scrolling works fine, looking at the N++ View menu, I see “Synchronize Horizontal Scrolling” checked and “Synchronize Vertical Scrolling” unchecked even though vertical scrolling is synced. Wonder if the special change you made is missing the MF_CHECKED update to put a checkmark at the appropriate menu item (since those seemed to have changed an shifted by one)?

                              1 條回覆 最後回覆 回覆 引用 5
                              • Pedro David MarcoP
                                Pedro David Marco @pnedev
                                最後由 編輯

                                @pnedev

                                Hey Pavel… Good news!!! that build works!!! :-) thanks a lot! what was the problem? i am using normal notepad 7.7 and this new build…

                                Thanks a lot for all your kindness and time…

                                BR!

                                1 條回覆 最後回覆 回覆 引用 1
                                • pnedevP
                                  pnedev
                                  最後由 編輯

                                  Guys,
                                  Thank you all for testing.

                                  P.S. The Notepad++ vertical scroll (in the menu) should be disabled, that’s normal. Compare plugin does the vertical sync on its own.

                                  BR

                                  Pedro David MarcoP 1 條回覆 最後回覆 回覆 引用 2
                                  • Pedro David MarcoP
                                    Pedro David Marco @pnedev
                                    最後由 編輯

                                    @pnedev

                                    Compare is by far (to me) the best tool to compare important files…

                                    Thanks pavel!

                                    1 條回覆 最後回覆 回覆 引用 2
                                    • Eric GoodmanE
                                      Eric Goodman
                                      最後由 編輯

                                      I had the same issue about the views moving separately and what ending up fixing it is I had to manually move the dll into the compareplugin folder as by default it’s top level of the plugins folder.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • guy038G
                                        guy038
                                        最後由 guy038 編輯

                                        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 條回覆 最後回覆 回覆 引用 1
                                        • pnedevP
                                          pnedev
                                          最後由 編輯

                                          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 條回覆 最後回覆 回覆 引用 1
                                          • 汪Jerrie汪
                                            汪Jerrie
                                            最後由 編輯

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

                                            EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors