If I define a file-specific menu I expect that menu *not to show* when I
open another Leo file.
This works wtih file-specific buttons, but not with file-specific menus.
An example:
At the top level in 'workbook.leo' I defined a file-specic menu with an
item:
@settings
@menuat help before
@menu &Leo
@item about-leo
So far so good. If I open 'workbook.leo', the new menu 'Leo' is shown
before the 'Help' menu as expected.
But if I now open another file (say 'Open scripts.leo' via the 'Help'
menu), the 'scripts.leo' file now also has a 'Leo' menu. So the logic
doesn't care about the file-specific menu definition but treats it as a
global definition. In contrast, the button definitions are treated
correctly: 'workbook.leo' and 'scripst.leo' do have different file-specific
buttons.
Reinhard
--
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.
For more options, visit https://groups.google.com/d/optout.