General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Attribute hover on "Normal View" screen
-
AmitElhanan March 1, 2018 at 3:42 pm
Attribute hover on "Normal View" screen
March 1, 2018 at 3:42 pmParticipants 2Replies 3Last Activity 4 years, 11 months agoIs there a way to get the attribute hover that works on the “Tags On View” to work in the “Normal View”?
Using XMetaL Author Enterprise 10.0
Derek Read March 1, 2018 at 7:31 pm
Reply to: Attribute hover on "Normal View" screen
March 1, 2018 at 7:31 pmPopping something up in Normal view in the same way it appears in Tags On view would tend to get in the way I think, at least if the same gesture was used.
The only thing I can think of that might give you some bit of similar functionality immediately using existing functionality and that wouldn't get in the way would be to display something in the status bar. There isn't a lot of room in there though, so I think you'd want to limit which attributes are being displayed to one or two.
The following would give you that functionality, provided it doesn't conflict with another macro already in your customization(s) that is displaying information in there:
[code]
var attrs = [“id”,”href”]; var msg = “”; [/code]
for(i=0;imsg += attrs + “=””;
msg += Selection.ContainerAttribute(attrs) + “” “;
}
Application.SetStatusText(msg);
]]>I don't think that is much better than having the Attribute Inspector open but you might feel otherwise. One benefit might be that displaying this information in the status bar kind of makes sense because you don't really know exactly what you have selected in Normal view unless you look at the mini-context to see which element you are in (and that appears just above the status bar, so you're looking in the same place).
Derek Read March 1, 2018 at 11:22 pm
Reply to: Attribute hover on "Normal View" screen
March 1, 2018 at 11:22 pmThis somewhat related idea might also be useful:
http://forums.xmetal.com/index.php/topic,738.0.htmlAmitElhanan March 5, 2018 at 1:47 pm
Reply to: Attribute hover on "Normal View" screen
March 5, 2018 at 1:47 pm -
AuthorPosts
- You must be logged in to reply to this topic.