forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

backup copy of edited file

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato
View previous topic :: View next topic  
Author Message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Thu Sep 13, 2012 2:20 am    Post subject: backup copy of edited file Reply with quote

Paul,

Having moved from my old editor to Plato (due to moving to Win7_64) I now find that I don't have a backup copy of the original file I last updated.
Does this capability exist in Plato ?
If it doesn't, is there a possibility of introducing it.

There are the two issues of backup file name and which version to keep.

My old editor simply changed the suffix, eg program.f95 > program.bak, so multiple .f95, .ins, .for files all shared the same backup. Another editor creates program_bak.f95, but that is harder to sort for cleaning out the old versions.
As it is possible with plato to do many updates, doing repeated edit/compile cycles, could I suggest that the backup file be the version of the original file that was opened (or selected to become backed up, if such a menu option exists). I remember an old OS that retained all temporary versions, appending a version number to the file name, ending up with 20 to 30 versions of the file to delete after each edit session. Didn't like that one.
The key functionality I am suggesting is that when editing a file, the original file is (optionally?) retained (renamed with original date/time stamp changed suffix), so that all changes can later be audited.

I notice there is an auto-backup facility for editing. Is this similar ? I suspect not. More likely this is so recent edits are not lost in case Plato crashes. (Unfortunately I use this feature a lot in Excel 2010, when editing .xls compatible mode files !!)

Something to consider as another Tools > Options > Text Editor

John
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Thu Sep 13, 2012 7:55 am    Post subject: Reply with quote

OK. I think that this could be done without too much effort.
The existing backup is only there for power failures etc.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Fri Sep 14, 2012 11:20 am    Post subject: Reply with quote

Paul,

At the risk of making work, could I suggest that you also think about a menu item: "show differences between current file and backup" - this would seem to also address in part John's stated need to audit differences.

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Fri Sep 14, 2012 2:25 pm    Post subject: Reply with quote

OK
Back to top
View user's profile Send private message AIM Address
brucebowler
Guest





PostPosted: Fri Sep 14, 2012 3:17 pm    Post subject: Reply with quote

If you do that, please make the saving of a backup copy optional.
Back to top
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Fri Sep 14, 2012 3:42 pm    Post subject: Reply with quote

OK
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group