Community
    • Login

    Suggestion: Add the option to show the differences between the loaded file and the saved file

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 5 Posters 10.4k 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.
    • jcrmatosJ
      jcrmatos
      last edited by

      Hello,

      Please consider adding the option to show the differences between the loaded file and the saved file (something like the document map, but for differences).

      Best regards,

      JM

      1 Reply Last reply Reply Quote 0
      • MAPJe71M
        MAPJe71
        last edited by

        Like change markers?

        1 Reply Last reply Reply Quote 0
        • Scott SumnerS
          Scott Sumner
          last edited by

          I don’t use the Compare plugin (I use Scooter Software’s Beyond Compare for file compares), but it seems like a Pythonscript could initiate a compare the current (unsaved) version of the file with the most recent “backup” version of the file (assumes the backup feature of N++ is turned on). A lot of supposition here, but…

          1 Reply Last reply Reply Quote 1
          • Scott SumnerS
            Scott Sumner
            last edited by

            Change markers, from the “Location Navigate” plugin, are a great feature, but I think the OP wants more functionality out of this than just knowing if there was a change on a line or not (he wants to see what the change was…I think).

            1 Reply Last reply Reply Quote 0
            • YaronY
              Yaron
              last edited by

              Hello all,

              I hope I understand the OP’s request correctly.
              Compare Plugin provides a “Diff since last Save” comparison.

              Pavel Nedev’s development version repo.
              Download the latest built DLL here (thanks xylographe).

              @Scott Summer,
              When did you last try the Compare Plugin? - You’d be surprised. :)

              Best regards.

              Scott SumnerS 1 Reply Last reply Reply Quote 2
              • MAPJe71M
                MAPJe71
                last edited by

                i.e. needs clarification by OP (@jcrmatos).

                1 Reply Last reply Reply Quote 0
                • Scott SumnerS
                  Scott Sumner @Yaron
                  last edited by

                  @Yaron

                  I’ve NEVER tried the Compare plug-in…always very happy with Beyond Compare…but I think I just might give it a look now. ;-)

                  It is good to know that the plug-in can do what we think the OP wants to accomplish.

                  1 Reply Last reply Reply Quote 0
                  • YaronY
                    Yaron
                    last edited by

                    @Scott Summer,

                    To fully appreciate Pavel Nedev’s work you should try an older version first. :)
                    I hope you like it.

                    BR

                    1 Reply Last reply Reply Quote 0
                    • jcrmatosJ
                      jcrmatos
                      last edited by jcrmatos

                      Hello,

                      I didn’t know about the Compare plugin.
                      It does what I needed (see the diffs from last save).

                      Thanks.

                      Best regards,

                      JM

                      1 Reply Last reply Reply Quote 1
                      • YaronY
                        Yaron
                        last edited by

                        @jcrmatos,

                        Great.
                        I’m glad you find it useful.

                        BR

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

                          Hello Yaron,

                          Thanks for keeping the people here informed about the Compare plugin and its current status. I appreciate it.
                          I hope I’ll be able to officially release the new version soon so your initial idea about having fully functional CP through the Plugin Manager will finally come to life.

                          Thanks again for your help.

                          BR

                          1 Reply Last reply Reply Quote 0
                          • YaronY
                            Yaron
                            last edited by

                            Hello Pavel,

                            Thank you for your remarkable work.
                            I’m sure that when you release Compare Plugin v2 many NPP users would be as appreciative and grateful as I am.

                            Best regards.

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