Frank Wunderlich:

i hope there is a way to include this (maybe modified) into next version...

Unless there is very strong support from others, I won't be including this in the version of SciTE I distribute. It is far too prescriptive in the policy it follows and its not a policy I would want. Numbers in backup file names are particularly unpleasant.

Backing up to local files is only one of the possible techniques that can be used. Others are to backup to a source code management system or to a remote machine over rsync or similar. The benefit to using source code management is that you can reproduce the timeline of changes that involve multiple files rather than try to decipher the ordering of a set of numbered files. OnBeforeSave exists to allow people to implement behaviour that suits them and it would be OK to expand this to allow running an external command, similar to command.*.

In your code there is a lot of low level path manipulation. That is the job of the FilePath class and your code could be simplified by using it.

   Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to