############################################ File: LoadSaveProject.FPL Author: Mathias Axelsson Email: max@coders.ct.se max@augs.se Fidonet: 2:205/306.22 Short description: Loads/saves the project file Version: 1.1 Date: 20.10.94 Local settings: Global settings: Keysequence: LoadProject: A-P l SaveProject: A-P s Type: Hook Prereq: ############################################ FUNCTION These two functions uses a project file (FrexxEd_Project_File) to keep track of all open files in the editor. When you save the project you get a file which contains the x/y position of the window, the width/height of the window (even though you might be running on a seperate screen). After that the file contains the full filenames of all the open files and also the line, byte position and tab size for each file. When loading the project file the script open all the files described in the project file and also sets the line, byte position and tab size. It also moves the window to the correct position and sets the size of the window. New for v1.1: The script now saves the state the window was in when you saved the project. This means that it remembers if it should open a screen, window or backdrop window.