Select Edit Changes Dialog
Last updated 12/22/98 by Charles Manske
(cmanske@netscape.com)
(cmanske@netscape.com)
Windows: | Mac: | UNIX: |
Invoke
The menu command Edit | HTML Source brings up an external editor and loads the current file. If there are unsaved changes, the user should be prompted to save before loading the file into the other editor using either the Save Changes dialog or the Save New Page dialog. There are two ways to get the situation where there are unsaved changes in the Composer window version and there are different changes in the saved file:Upon returning focus to the Composer window, the file timestamps are checked and the "Select Edit Changes" dialog will be invoked if the file is newer than the last time Composer saved it, and there are subsequent changes in the Composer page.
- The user answers "No" to the Save Changes dialog
- Or all of the following was done:
- The user made changes to the version using an external editor,
- and did not save them to the file,
- but switched back to Composer and made different changes there,
- then switched again to the external editor and saved those changes to the file.
Initialization
All text in dialog is static.
Actions
Click Button Response Keep current changes Actually, nothing is done in this case. The current changes in the Composer are thus kept. The user is prompted to save them before exiting the app or closing the window. Whenever the file is saved, the changes from the other editor are lost Replace current page with other version Immediately read the file that includes the external editor changes, thus loosing the previous Composer changes.