Community
    • Login

    Recovering temp "new" tabs

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 461 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.
    • blcartwrightB Offline
      blcartwright
      last edited by

      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.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @blcartwright
        last edited by Alan Kilborn

        @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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors