• Login
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.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.
  • J
    jcrmatos
    last edited by Sep 17, 2016, 2:10 PM

    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
    • M
      MAPJe71
      last edited by Sep 17, 2016, 3:11 PM

      Like change markers?

      1 Reply Last reply Reply Quote 0
      • S
        Scott Sumner
        last edited by Sep 17, 2016, 3:54 PM

        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
        • S
          Scott Sumner
          last edited by Sep 17, 2016, 3:56 PM

          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
          • Y
            Yaron
            last edited by Sep 17, 2016, 4:30 PM

            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.

            S 1 Reply Last reply Sep 17, 2016, 5:05 PM Reply Quote 2
            • M
              MAPJe71
              last edited by Sep 17, 2016, 4:36 PM

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

              1 Reply Last reply Reply Quote 0
              • S
                Scott Sumner @Yaron
                last edited by Sep 17, 2016, 5:05 PM

                @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
                • Y
                  Yaron
                  last edited by Sep 17, 2016, 5:42 PM

                  @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
                  • J
                    jcrmatos
                    last edited by jcrmatos Sep 17, 2016, 5:45 PM Sep 17, 2016, 5:44 PM

                    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
                    • Y
                      Yaron
                      last edited by Sep 17, 2016, 5:49 PM

                      @jcrmatos,

                      Great.
                      I’m glad you find it useful.

                      BR

                      1 Reply Last reply Reply Quote 0
                      • P
                        pnedev
                        last edited by Sep 19, 2016, 8:25 AM

                        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
                        • Y
                          Yaron
                          last edited by Sep 19, 2016, 5:04 PM

                          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
                          9 out of 12
                          • First post
                            9/12
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors