Menu ▾ ▴

Don't prompt to save modified empty untitled

2009-02-17
2012-11-13
  • Pedro Silva

    Pedro Silva - 2009-02-17

    Hello,

    I would like that Notepad++ didn't ask to save an empty, modified, but never saved document.

    I use Notepad++ to transfer texts from webpages, clear formatting or taking notes that I usually Cut to other applications and having it asking to save an empty document is really annoying.

    Thank you.

     
    • Pedro Silva

      Pedro Silva - 2009-03-09

      Thank you for implementing this in N++ 5.3RC :)

       
    • Allen Zhu

      Allen Zhu - 2009-02-17

      Have you noticed that Word does that too?

      Ex. You open a blank document in Word, you type stuff, then delete everything, and when you close Word, it asks you whether or not you want to save the document...

      So, it's not just Notepad++, it's other apps too...

       
    • Pedro Silva

      Pedro Silva - 2009-02-17

      Well, Notepad2 doesn't (http://www.flos-freeware.ch/)
      And what's the purpose of asking to save an empty document?

       
      • Allen Zhu

        Allen Zhu - 2009-02-18

        Notepad2 is a Simpler version of Notepad++ in my opinion after looking at the screenshots.

        Uses the Notepad logo and Scintilla, very simple design...

        New bug out for both Notepad++ and Word, hoping the first fixes this bug and probably the latter will ignore this bug, unless someone sends something out..

        No purpose, actually, I don't like this bug, I've found it in Word heck of long ago but never reported it out...

        If you like Notepad2, then you can use it for your web design, since it is simpler or maybe just Notepad by its own?

        Allen Zhu
        allen.jaloola@gmail.com

         
    • Pedro Silva

      Pedro Silva - 2009-02-18

      Hi Allen,

      I never mentioned it as a bug, I am just suggesting an improvement I would like to see implement in Notepad++

      Notepad2, as you say, it's simpler than Notepad++, even though has some really nice features.

      br,
      Pedro

       
      • Don HO

        Don HO - 2009-02-18

        I'll consider it.

        Don

         
        • Fool4UAnyway

          Fool4UAnyway - 2009-02-18

          > I would like that Notepad++ didn't ask to save an empty,
          > modified, but never saved document.

          If the document was started as a _new_ document, whether is has been _modified_ or not, and is currently _empty_, then, I guess, no-one would object to not be bothered by the question to save this document. After all, this would only create a new, empty file.

          However, whenever a document, opened from a file, is modified and currently empty, that should be no reason to _not_ ask the user if he wants to save the _changed_ file. I clear log files, now and then, resulting in an empty file, just to get a clear start again.

           
          • Bob Uncle

            Bob Uncle - 2009-02-19

            I agree with Fool.

            If it is a new, modified, empty file then don't ask.
            If it is a new, modified, non-empty file then ask.

            I would lose so much data if it did not prompt me.

             
            • Don HO

              Don HO - 2009-02-19

              I can not agree more with both fool4uanyway and im2crazy4u :)

              Don

               
    • Pedro Silva

      Pedro Silva - 2009-02-18

      Great :)
      Thank you Don

       
    • Greg

      Greg - 2009-02-20

      While I do find it annoying to be asked if I want to save an empty file, IT CAN BE A LIFE SAVER.

      It hasn't happened to me in Npp but in Word I have occasionally deleted the entire contents of a file accidentally and the message to save what is a blank file rings alarm bells when you know there should be something there. Enter Undo. Tra-lah!

      Without the 'Do you want to save' message, access to Undo would be lost.

      I am for keeping the 'Do you want to save' dialog.