This is a continuation of the thread 'Vim emulation - Restored in trunk' Starting at rev 1376 of the trunk, Leo remembers the time stamp (modification date) for every file it reads, including .leo files and all external (derived) files.
When writing any file, Leo will put up a dialog if the file's modification date doesn't match the remembered time stamp. You can choose to write the file anyway, but if you choose 'no' or 'cancel' no write will happen and a warning will be written to the log. As usual, you can use the read @file nodes command (or one of the admittedly somewhat confusing alternatives) to update the outline from the externally changed file. I have chosen not to remind users of this at present, but that choice could be reversed easily enough if it proves foolish. All unit tests pass, including a new test, and the code appears to do what is reasonable. However, the new code should be used with care: numerous changes were made throughout Leo's read/write code. Please report any problem immediately. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
