Finally got this done. Executive Summary:
Recent Files menu now has Clean Recent Files and Sort Recent Files. Clean Recent Files looks for @data path-demangle in @settings. These changes on the trunk. Long tail of woe: Took me ages to get this done. The special code that creates the Recent Files menu created the "Clear Recent Files" item as a special case. Seemed fine when there was only one, but I wanted to add two more, so it seemed better the define the static part of the menu in @menus, and then just delete / update the dynamic part. It wasn't hard to count the entries in the static part, but getting the code to not delete them drove me nuts, I really don't know what was up, although I wonder if Tk.delete_range is insane. Or perhaps it's me. Anyway, finally realized rather than just counting them, I could store the menu table, then delete all the entries and recreate the static part each time. Anyway, seems to work, I added @data path-demangle to @settings, but without any active rules, just docs. I also corrected the spelling of some menu related method, don't think it was used anywhere, but it was getManuLabel. I was going to work on the after-auto hook, but straight away stubbed my toe on the messed up recent file list and decided to fix it once and for all. Cheers -Terry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
