Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Dervars14D

      Is there a way to recover a file after clicking YES in "this file had been modified by another program" error message?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      44 Views
      xomxX

      Unfortunately it doesn’t help you with your current data loss, but there is now at least a partial safety measure taken for this situation in the upcoming v8.9.3 - for the case of a modified file, that Reload-dialog offered default answer has been changed from YES to NO:

      npp-safer-reload-default-for-dirty-files.png

      For unmodified files, the default remains YES.

    • JAKJ

      How to compare 2 text files and delete duplicates

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      118 Views
      pnedevP

      Hi @JAK ,

      You can use ComparePlus but from the menu choose Find Unique Lines command. It will mark all unique lines in a file (that are not found in the other file).
      Then use Diff Visual Filters... to hide all diffs (this will hide all unique lines). Don’t worry if there is still one visible diff line on top - first document line cannot be hidden but it is not a problem for the next operation.
      Then select the file from which you’d like to remove duplicating lines (set the focus/caret in that file) and execute Delete all/selected visible lines from the ComparePlus plugin menu.
      This will do what you are trying to accomplish.

      BR