EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.suggest.eng » set context submenus and spacer
set context submenus and spacer [message #167287] Mon, 26 September 2016 13:12
Morten Leikvoll
Messages: 1351
Registered: November 2007
Senior Member
The format of SET CONTEXT is now:
SET CONTEXT objecttype text commands;

I suggest allowing to create context submenus by using -> as sub menu
separators, so that...

SET CONTEXT wire "group->ulp1" 'run ulp1';
SET CONTEXT wire "group->ulp2" 'run ulp2';

...would break up the two items into a context sub-menu called "group"
with the sub items "ulp1" and "ulp2".

This may of course expand to even more depth, (but define a fixed max
depth number to avoid potential overflow bugs)

Of course the "->" could be replaced with anything that doesnt cause
conflicts with normal text.

Also, the context menu could sometimes do with a spacer, like the one
that is there today, just before the properties. So why not add a
special character for that in the same go. It could maybe go in as a
prefix of the text string.
Previous Topic: Diff bus naming
Next Topic: Comparing packages
Goto Forum:
  


Current Time: Thu Sep 21 17:33:00 GMT 2017