Somehow it happened that while I was working on an @shadow file, the
file which was stored in the .leo_shadow directory failed to contain
any sentinels, and was identical to the file being shadowed.

This may have happened because I started by making a @shadow node for
a file which didn't exist [file_a] (because there was a typo in the
filename), trying to load this file in (File->Read/Write-> Read
@shadow nodes menu option), and then later corrected the node with the
correct filename [file_b], and loaded this file in.  This file
[file_b] was a LaTeX file.

Obviously this means that after I closed Leo, and re-opened it, it was
unable to load the file properly, and all of my changes grouping the
parts of the file into a structure were lost.

If you have any ideas on what might have caused this unfortunate
behavior, perhaps it should be investigated.  I tried to reproduce it,
but wasn't able to -- I don't know what combination of the many
operations I performed before closing Leo led to the vanishing-
sentinels situation.

Operations I performed (in no particular order) were:  extract text
into sections (ctrl-shift-s), edit text in sections, cut and paste
text.  Add new node (somewhere beneath @shadow node), add text to the
node, cut the node.  Undo some text changes (ctrl-z).  Search for text
in the document (ctrl-f).  Goto global line (alt-g).  And saving the
document (ctrl-s) at several points along the way.

By the way, I am using the Tk gui from bzr revision 1377 of the trunk.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to