Menu

auto saving on lost focus

2006-02-11
2012-11-14
  • Nobody/Anonymous

    I miss auto-saving feature in Notepad++, but not that one of Emacs (saving from time to time), but saving each time when Notepad++ loses focus.

     
    • GVC

      GVC - 2007-03-11

      Any input on this one?  I'm used to it since I used CodeWright and I must say this is a very, very useful feature (but it was switchable for those who didn't wanted this, though...).

      In fact, I'm so used to it that I now forget to save the file before I switch from Notepad++ to another application, resulting most of the time in my changes not being taken into account when compiling...

      Best rgds,

      --Geert

       
      • GVC

        GVC - 2007-08-05
         
  • Moisey Oysgelt

    Moisey Oysgelt - 2009-09-30

    I agree  that feature needed.

    Code is simple  
    if  ( option_save_on_lost_focus)
    {
      get_text_fron_active_window;
    if ( !text_from_active_window.startsWith("Notepat++")
    {
      call save_all_method.
    }
    }

    The all  code is in  and developer can do  that .

    I can help if needed.

     
  • cchris

    cchris - 2009-10-01

    As Geert mentioned, the AutoSave plugin does this for you already. I can't remember seeing any issues raised against it.

    CChris