Inconsistent behaviour of menus

Richard Gaskin ambassador at fourthworld.com
Wed May 18 13:06:42 EDT 2005


Eric Chatonet wrote:
> Rev 2.5.1 - OS X 10.4.1
> 
> I am used to build menus as text, adding a parenthesis to disable an  
> item, !c to checkmark another one, etc.
> The problem comes when working with submenus items.
> With Rev 2.5 you could write something like:
> 
> tab SubmenuItem 1 -- enabled
> (tab SubmenuItem 2 -- disabled
> 
> With Rev 2.5.1, such a formulation no longer works.
> You have to put the parenthesis strictly before the label:
> 
> tab SubmenuItem 1 -- enabled
> tab (SubmenuItem 2 -- disabled
> 
> If you try to use the built-in disable command with submenus items,  it 
> works fine with 2.5 and does not work with 2.5.1. because it puts  the 
> parenthesis at the beginning of the line :-(

This is a bug -- from the v2.5.1 "Engine Changes" doc:

   Bug 2275: Tabs parsed incorrectly in some menu definitions
   ~~~~~~~~
   Tabs can now appear directly before or directly after the
   menu meta-characters in menu specifications.

Happy Bugzillaing...

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list