StrongED Autosaving and Autoloadng of Files

Autosaving and Autoloading of Files

Autosaving files minimises the work you will loose in the event of a crash or power loss. But in StrongED the system is enhanced so that all files open in StrongED can be saved at the end of one session and reloaded automatically at the next session in the same positions they were in when saved. StrongED also does its level best to save your work in the event of a crash - whether internal or external.

Autosave

Autosave events

There are three types of event that will trigger an autosave:
  1. Timed save. A timer will autosave any file being worked on. global_edit/png
    The timer interval is set from the iconbar menu -> choices, default is 5 minutes. In the edit section you can switch Autosave on or off and select your timing. The active files are saved with unique numbers in the Autosave directory. This Timed Save also saves a list of StrongED's open windows. When a file is saved its autosaved copy is deleted.

    Having two copies of a file could be useful - if you rename or move the saved file you can then open it and compare the work you are doing with the file when you last saved it.

  2. At shutdown, or when StrongED is Quit. In this case one of two things happen:
    • If there are any unsaved fies, StrongED will open a window
      quit/png
      giving you a choice. If you click on Remember the AutoSave system will remember all your work.
    • If there are no unsaved files and you have so configured StrongED (see top window above), then the AutoSave system will remember all your work without asking.
  3. Save on Crash. In the event of a crash, either internal or external that affects StrongeD, a memory dump is done.

When files are AutoSaved, a list of all loaded files is also saved. This file is called List and it is saved in the AutoSave directory. The List file includes window positions.

The Autosave Directory is either in !StrED_cfg.UserPrefs or in !StrongED.Defaults, depending on how you've set up StrongED.

AutoLoad

When StrongED is started it looks in the Autosave directory and, if the List file is present, all files mentioned in it will be loaded, leaving you where you were when the list was saved.

When AutoLoad goes wrong

It is quite possible to edit this List in the event one file is causing a problem. To do this you will need to load the file into another editor (if you use StrongeD the List will be over-written when you quit!) and edit the List file. Save it and start StrongED.

Or copy the List file, edit in StrongEd then after quitting StrongEd move or copy the edited file back to the AutoSave directory and restart StrongEd (which you can do by Shift-clicking the List file!). If the files listed are still present they will be reloaded

If you do not wish StrongED to Autoload on start-up, hold down ALT when starting.

Other relevant pages

Top of page

Page Information

http://css.torrens.org/valid-html401-bluehttp://css.torrens.org/valid-css Document URI: http://stronged.torrens.org/man/autoload.html
Page first published 20th December 207
Last modified:Wed, 30 May 2018 09:33:32 BST
© 2017 - 2018 Richard Torrens.