Here is my first attempt at integrating find by elimination with the standard Leo find: http://crookedgames.com/find_by_elim.leo (Btw, is there a way to attach a file to a message in Google Groups? I can't seem to find the button.)
The button in the leo file doesn't work right - it screws up the outline. Here's my test case: ---------- 1. Make a copy of find_by_elim.leo. 2. Open up the copy. 3. Select the @chapters node. 4. Click the find-by-elim button. 5. Type "button" in the minibuffer and hit return. 6. Now, we have successfully eliminated several nodes. 7. The word "button" in the headline "@button Restore nodes" is selected. I'm not sure why this match is the one that gets selected. 8. Click restore nodes. The headline "@button Find by elim" changes to "@button Restore nodes" for some reason. ---------- Any hints on how to go about making this work? Is there an easy way to temporarily substitute the current set of nodes with another? I imagine I'm going to have to do a lot of figuring out about how find works in Leo, but any suggestions would be appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
