33616Re: customizing the UnsavedChanges event ?
- Sep 5, 2003Yakov Lerner wrote:
> Is there an autoevent for a decision what to do withNo. You could use exception handling when it happens in a script.
> unsaved changes when leaving the unsaved modified buffer ?
> For example, customizing such event would allow me to
> - for *.abc buffers - autowrite
> - for *.xyz buffers - ask
> - for *.pqr buffers - autowrite if leaving via commands x,y,z
> but ask if leaving via commands a,b,c
> - for *.klm buffers - autowrite with versiosning
> Does it exist, such autoevent ?
I'll add a note about adding an event for this, I can see it is useful.
I'm sure that I asked CBuilder to do a "full" install. Looks like I got
a "fool" install, instead. Charles E Campbell, Jr, PhD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
- << Previous post in topic