• Login
Community
  • Login

Recovering temp "new" tabs

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 250 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.
  • B
    blcartwright
    last edited by Mar 22, 2020, 1:24 AM

    I know that when a new tab is opened but the contents not saved to a file yet, Notepad++ keeps the data in it’s own location as the program can be closed and opened and the tab contents persist.

    However, if a tab is closed and told to not save the contents, have the contents been deleted or can it still be recovered from the temp location?

    I opened a new tab, wrote a lot of code, cloned it to see the contents side-by-side, then close the tab on one side of the editor and later noticed the tab was totally gone, and possibly my code as well.

    A 1 Reply Last reply Mar 22, 2020, 12:08 PM Reply Quote 0
    • A
      Alan Kilborn @blcartwright
      last edited by Alan Kilborn Mar 22, 2020, 12:10 PM Mar 22, 2020, 12:08 PM

      @blcartwright What version of N++?

      I observed this behavior in that situation, with N++ 7.8.4:

      A modified “Unnamed/unsaved” file cloned; right-click Close that file in one of the views: Notepad++ prompts to save that file. If answer No, Notepad++ closes that view and leaves the file tab open in the other view.

      Interestingly, after letting N++ sit for a bit, and then attempting to close it (single-viewed unnamed/unsaved doc still open), Notepad++ prompts with “Your backup file cannot be found (deleted from outside). Save it otherwise your data will be lost. Do you want to save the file?”

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