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