--- April White <[EMAIL PROTECTED]> wrote: > Jos vanderZande wrote: > > >... or Run it with the Latest Beta version using > Alt+F5. > >... so you see what happens when they press > >Alt+F5. They get prompted to save the script to > >another file. > > > >Second reason is that i created a LUA script that > will > >create x number of backups when Save is performed. > I > >don't want to create a backup when the script isn't > >changed and ALT+F5 is performed. > > > >So maybe it could be changed that we add another > value > >for Save.Before that will only saves the file when > >changed or change the behaviour to be the same as > used > >by F5? > > > > > Jos, you do have a point. > > The new code Bruce Dodson donated already has a > skeleton base to detect > the keyword "auto", so it should not be hard for me > to extend this and > related code to implement what Jos has asked for. > > If someone wants to implement this within the cdv > version, go ahead, > else it will have to wait until I've done the > necessary gtk revisions to > the job system that are required for my new > implementation. > April,
The implementation in the current CVS version is pretty simple. I think all it take is change the line 1256 IF statement in SciTEBuffers.cxx from (saveBefore == 1 && Save()) to (saveBefore == 1 && SaveIfUnsure()) I am not looking a "special" here but am just posing the question if the current behaviour is want people expect. Its like Bruce stated in his reply: "We should just decide what makes the most sense, make it work that way, and document it." Thanks, Jos __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
