Which Skill command I can use to find out whether I am edit-in-place in a group (created from the leHiCreateGroup command) or edit-in-place in an instance?
When I edit-in-place of an instance, the window will tell me the name of the instance I am editing in. But when I edit-in-place of a "group", the window name doesnt change, the "EIP" group just give me a "halo" boundary to indicate that I am EIP in that group.. Is there a skill command that I can use to tell me that I am EIP of a group??
Thank you very much for your help
leGetEditFigGroup() will return the figGroup you're currently editing (if indeed you are). To find out whether you are edit in place you can either use deGetEIP() or you could check to see if geGetEditCellView() is different from geGetWindowCellView().
In reply to Andrew Beckett:
It works!!! Thanks a lot for your help..I love this forum.. It really helps me learning Skill language Here is a small code I wrote to ascend the hierarchy ..
procedure(Return() let(() if(leGetEditFigGroup() then leReturn() else geReturn() );if))
w/o the leGetEditFigGroup(), the ascending hier would still let you move upt the hierarchy but you cant no longer select the instance.. You have to kill the opening layout session and reopen again..
Thanks again Andrew..
In reply to howardhaoracle:
You should be able to use leReturn() whether you're in a fig group or not, so I'm not really sure why you're doing this (the default bindkeys use leReturn for the shift-B bindkey).