Menu

how to compare two textfiles?

2007-08-29
2012-11-13
  • Nobody/Anonymous

    i use notepad++ 4.2.2
    how can i compare two textfiles and as result the difference is marked or highlighted ?

    for example two logfiles etc.

    thanx for answers..
    uli

     
    • Greg Bullock

      Greg Bullock - 2007-08-29

      Install Ty Landercasper's new Compare plugin,

      https://sourceforge.net/forum/forum.php?thread_id=1811023&forum_id=331753

      then put the two files side-by-side in two separate panels and press <Alt-D>.

      Nice work, Ty!

      Regards.
      Greg

       
      • Nobody/Anonymous

        I am new to npp. What do you mean two panels? And, step by step, how do you set it up? Please. Thanks.

         
        • Nobody/Anonymous

          http://notepad-plus.sourceforge.net/commun/screenshots/scrsh_multiView.gif shows two pane with two different files.

          To create a 'duplicate' view of the file - NPP allows you to edit / view the same file in two different panels - right click on the file tab, it brings up the context sensitive menu, select "clone to another view." You instantly have another panel open with the same file at the same cursor location!! <-- two thumbs up for NPP!! Hooray!!! :)

          To move the file to the "other" panel, right click on the file tab, select "goto another view", the file will be over the "other" panel instantly at the same cursor location. Hooray!!!

          Once you got two panels show up, you can resize the 'splitter', the bar between the two files, to adjust the size of the panel. You can click on the arrows at either end of the splitter to quickly hide the other panel.

          A great trick, if you want to change the vertical panel to horizontal panel, simply right click on the splitter, it brings up two options, "rotate to right" & "rotate to left." Either option coverts horizontal to vertical. "rotate to right" puts the left panel on top, while "rotate to left" places the right panel on top. Hooray!!! Way to go Notepad Plus!!! :)

          Cheers

           
          • Nobody/Anonymous

            Hey, that is cooooool! Npp is a very functional editor. Thanks, I really appreciate the time you took to put together the response to my questtion. It was clear and concise.

             
      • Nobody/Anonymous

        wow... :)
        that is exactly what i want.
        thank you very much !
        great job !

        best regards
        uli

         
MongoDB Logo MongoDB