Community
    • Login

    Compare Plugin - Unable to turn off Synchronize Vertical Scrolling Version 7.6.6 with Compare V2

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    38 Posts 9 Posters 16.5k 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.
    • Meta ChuhM
      Meta Chuh moderator @pnedev
      last edited by

      @pnedev

      i think you can not embed google drive images, as they don’t provide a static image url to e.g. ComparePlus.png.

      best regards

      Alan KilbornA 1 Reply Last reply Reply Quote 2
      • Alan KilbornA
        Alan Kilborn @Meta Chuh
        last edited by

        @Meta-Chuh said:

        google drive

        Plus google drive is simply bad because so many corporations block it; you may not get the best answers if the best answerers can’t see it.

        1 Reply Last reply Reply Quote 3
        • Jeff MillerJ
          Jeff Miller @pnedev
          last edited by

          The Compare 3.0 looks like it will work.

          The only issue I think is on the Notepad++ Side.

          The Selecting the Sections requires some extra work, unless I am missing something.

          So now I open Both Files and “Move/Clone Current Document” -> “Move to Other View”

          Then on the Left View Do a Find for the
          Beginning of what I want to Compare.
          Then do the
          “Edit” -> “Begin/End Select” – Start Selection

          Then Scroll Down to the End of the Section in Question.
          “Edit” -> “Begin/End Select”. – End Selection

          Then repeat on the Right View Do a Find for the
          Beginning of what I want to Compare.
          Then do the
          “Edit” -> “Begin/End Select” – Start Selection

          Then Scroll Down to the End of the Section in Question.
          “Edit” -> “Begin/End Select” – End Selection

          Then “Plugins” -> “Compare” -> “Compare Selections”

          So once in this mode, it works well.

          It is just a case of additional steps that have to be accomplished if the Stanza’s Don’t Layout the Same.

          Also someone had a question about recomparing when breaking and re-establishing the Sync.
          Essentially the first Compare pass would mark up the Text in the Various Colors. Then when moving the two sides Separately, we did not want it to run a compare again, just keep the Color Markup that was alread processed.

          1 Reply Last reply Reply Quote 2
          • guy038G
            guy038
            last edited by

            Hello, @pnedev, and All,

            Thank you so much for the future comparePlugin v3.0, with quite a lot of new features ;-)) Still testing it !

            I’m intrigued by the new option Highlight Diffs on Character Level ! What does this mean ?

            Good luck in your coding process !

            Best Regards,

            guy038

            1 Reply Last reply Reply Quote 3
            • pnedevP
              pnedev
              last edited by pnedev

              @Meta-Chuh ,

              Thanks for helping with embedding the images.

              @andrecool-68 ,

              Removed all plugins except ComparePlugin 3.0, and periodically Notepad ++ hangs.

              But it doesn’t crash like before, right?
              I’ll look into it, thanks.

              @Jeff-Miller ,

              Yes, unfortunately that’s the case with Compare 3. You need to select manually the sections you are focusing on. Disabling and re-enabling vertical scroll sync in Compare 3 is something that might not be that easy.

              Rewriting part of my previous post here to make images directly visible:


              Just FYI, the development compare (no matter if v3 RC or ComparePlus) is considerably slower than Compare v2 when comparing files with lots of replacement lines because it tries to “intelligently” find the changed lines (which brings more accuracy on the price of slower compare). As I said, the compare is perceived to be slower only in the case there are lots of replacements and lines that “look” similar.
              To get an idea, look at the following compare excerpt screenshots (first Compare v2, followed by ComparePlus):

              Compare v2

              ComparePlus

              As you can see from the images, Styler and Prefix mode sections are with changed order and ComparePlus tries to match the commands IDs as well (not yet perfect but at least better compare results than Compare v2).

              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.

              1 Reply Last reply Reply Quote 3
              • pnedevP
                pnedev
                last edited by pnedev

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • pnedevP
                  pnedev
                  last edited by

                  Hi @guy038 ,

                  Thank you.

                  I’m intrigued by the new option Highlight Diffs on Character Level ! What does this mean ?

                  It shows the differences on character level instead of “word” level. It can help finding the exact character mismatch between two very similar words but it is particularly useful if you compare hex sequences.

                  Look at the following example of compare results with Highlight Diffs on Character Level OFF and ON respectively:

                  BR

                  1 Reply Last reply Reply Quote 3
                  • guy038G
                    guy038
                    last edited by

                    Hi, @pnedev, and All,

                    Indeed, your pictures are very explicative ;-)) It’s easy to see the benefit of that option, in some cases :

                    • With this option OFF, it supposes that lines 5 to 7 are completely different, so that 3 lines were added in the hex 1.txt file and 3 lines were deleted in the hex 2.txt file

                    • With that option ON, it supposes that lines 5 to 7 are rather identical and that only 2 single characters are different, in each line, between the two files

                    Regards,

                    guy038

                    1 Reply Last reply Reply Quote 3
                    • guy038G
                      guy038
                      last edited by guy038

                      Hello @pnedev,

                      In your post, above :

                      https://community.notepad-plus-plus.org/post/43047

                      The x86 and x64 links to the two versions, of your future Comparev3.0 plugin, seem obsolete, by now !

                      Did you do it, on purpose ?

                      Just because I want to get the x64 version, … for my future Windows10 laptop ;-))

                      Good developpment of your new build !

                      Best Regards,

                      guy038

                      Alan KilbornA 1 Reply Last reply Reply Quote 0
                      • pnedevP
                        pnedev
                        last edited by

                        Hi @guy038 ,

                        No, it was not me. The AppVeyor has automatically deleted the binaries because a lot of time had passed (6 months is the builds life span AFAIR).
                        But you can probably use the latest development version: x64 or x86.

                        Oh, It is now called ComparePlus but I know that you know how to install it ;)

                        Thank you and
                        BR,
                        Pavel

                        1 Reply Last reply Reply Quote 1
                        • Alan KilbornA
                          Alan Kilborn @guy038
                          last edited by

                          @guy038 said in Compare Plugin - Unable to turn off Synchronize Vertical Scrolling Version 7.6.6 with Compare V2:

                          for my future Windows10 laptop ;-))

                          Wha??!! :-)

                          1 Reply Last reply Reply Quote 2
                          • guy038G
                            guy038
                            last edited by guy038

                            Hello, @pnedev and All,

                            I’ve just downloaded your two versions and installed the x86 one ( for now !) Waoooouh ! Really promising ;-))

                            BTW, I succeeded to find out the correct link, on GitHub, to your last Build 488 :

                            https://ci.appveyor.com/project/pnedev/compare-plugin

                            • Then, click, either, on :

                              • Environment: PlatformToolset=v141; Configuration: Release Unicode; Platform: x64

                              • Environment: PlatformToolset=v141; Configuration: Release Unicode; Platform: x86

                            • Then, click on the Artifacts, on the far right

                            • Finally, click on ComparePlus.dll to download it


                            Now, if XXXX, below, represents the installation folder of the last portable release v7.8.4, with the ComparePlus plugin only installed, by the user, I get this view tree :

                            XXXX
                            	\
                            	|-- autoCompletion (folder)
                            	|                \
                            	|                |-- Some ".xml" files
                            	|
                            	|
                            	|-- localization (folder)
                            	|              \
                            	|              |-- Some ".xml" files
                            	|
                            	|
                            	|-- plugins (folder)
                            	|         \
                            	|         |-- ComparePlus ( folder )
                            	|         |             \
                            	|         |             |-- ComparePlus.dll
                            	|         |             |
                            	|         |             |-- ComparePlus ( folder )
                            	|         |                           \
                            	|         |                           |-- git2.dll
                            	|         |                           |
                            	|         |                           |-- sqlite3.dll
                            	|         |
                            	|         |
                            	|         |-- Config (folder)
                            	|         |        \
                            	|         |        |-- ComparePlus.ini
                            	|         |        |
                            	|         |        |-- Other ".ini" files
                            	|         |        |
                            	|         |        |-- nppPluginList.dll
                            	|         |
                            	|         |
                            	|         |-- doc (folder)
                            	|         |
                            	|         |
                            	|         |-- mineTools (folder)
                            	|         |           \
                            	|         |           |-- mineTools.dll
                            	|         |
                            	|         |
                            	|         |-- NppConverter (folder)
                            	|         |              \
                            	|         |              |-- NppConverter.dll
                            	|         |
                            	|         |
                            	|         |-- NppExport
                            	|                     \
                            	|                     |-- NppExport.dll
                            	|          
                            	|
                            	|-- themes (folder)
                            	|        \
                            	|        |-- Some ".xml" files
                            	|
                            	|
                            	|-- updater (folder)
                            	|         \
                            	|         |-- GUP.exe
                            	|         |
                            	|         |-- gup.xml
                            	|         |
                            	|         |-- libcurl.dll
                            	|         |
                            	|         |-- LICENSE
                            	|         |
                            	|         |-- README.md
                            	|
                            	|
                            	|-- userDefineLangs ( folder )
                            	|                 \
                            	|                 |-- userDefinedLang-markdown.default.modern.xml
                            	|
                            	|
                            	|-- doLocalConf.xml
                            	|
                            	|-- Notepad++.exe ( Last version 7.8.4 )
                            	|
                            	|-- SciLexer.dll
                            	|
                            	|-- Some ".txt" files and "change.log"
                            	|
                            	|-- Some ".xml" CONFIGURATION files
                            

                            Could you confirm @pnedev, that the sub-folder containing the git2.dll and sqlite3.dll librairies must be written ComparePlus, as well ?


                            Now, regarding the new features, compared to ComparePlugin v2.0, it’s really impressive ;-))

                            • The commands Compare Selections, Find Unique Lines and Find Unique Lines in Selections

                            • The options Detect Diffs on Character Level, Shows Only Diffs (Hide Matches) and Show Only Compared Selections

                            • The filters Ignore Empty Lines and Ignore Case

                            • The settings Align all matching lines, Never colorize ignored lines, Move caret on navigation and Show "Close Files?" dialog on match

                            • The highlighting settings Added Highlight and Removed Highlight

                            Simply amazing ;-))


                            BTW, @pnedev, in the final version, could you change the first setting as :

                            • New file in right/bottom view

                            • Old file in right/bottom view

                            Best Regards,

                            guy038

                            1 Reply Last reply Reply Quote 0
                            • pnedevP
                              pnedev
                              last edited by

                              Hi @guy038 ,

                              Could you confirm that the sub-folder containing the git2.dll and sqlite3.dll librairies must be written ComparePlus, as well ?

                              Yes, that’s correct.

                              Simply amazing

                              Thank you.

                              in the final version, could you change the first setting as …

                              Sure, no problem.

                              I hope to be able to release ComparePlus soon, it took much longer than I expected. But I’m really close now, just need to fix several issues.

                              BR

                              1 Reply Last reply Reply Quote 2
                              • benreavesB
                                benreaves @Terry R
                                last edited by

                                @Terry-R yes it is in https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5250

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