> So c.frame.tree.revertHeadline is initial contexts of the headline text.
> This might be enough for you.
>
Thanks!
{later} After some testing I think this is the wrong approach even though
`c.frame.tree.revertHeadline` does actually work. Problems include *which*
undo event does one want? and the value of revertHeadline changes at time
of save the .leo file, so unless a person remembers to always execute
rename before saving it's not going to work. I'm in the habit of hitting
Ctrl-S constantly since I've lost so much work by not doing so... :-/
A better interface would be a prompt such as "@file headline has changed.
Rename external file to match?" on exiting the headline.
In any case, I'm on other things right now and will let this lie fallow
until it itches me again. Thanks again for helping. :)
-matt
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.