Comments of a ZExpression component in the window title?

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Comments of a ZExpression component in the window title?

Post by rrTea »

When there are a few detached ZExpressions floating around, sometimes it's hard to recognize at first glance whether the selected one is really the one that should be modified. In my case, ZExpressions for bullet attacks sometimes look very similar (visually) and sadly the ZExpression that has focus is not highlighted in the Project Tree. Commenting within a ZExpression can help with that, but general comments tend to scroll out (while working, chances are the cursor will be somewhere in the code and not comments) and there's always a bit of scrolling involved in this process etc.

I'd find it practical if the comments of the ZExpression itself were added to the title of the window. Right now, a detached ZExpression only says "Editing: ZExpression / Condition Expression", so instead of the second "Expression" the comment of the component could be used (for example if the comment is "Bullets phase 2", the title of the window could be "Editing ZExpression / Condition: Bullets phase 2").

Another thing that would be helpful (but I guess that's more troublesome) would be if the ZExpression with the focus got highlighted in the Project Tree.

Would anybody else find this useful?
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Comments of a ZExpression component in the window title?

Post by VilleK »

Hi,

I added the comment to the window caption, please try it here: http://www.zgameeditor.org/files/ZGameEditor_beta.zip
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: Comments of a ZExpression component in the window title?

Post by rrTea »

Excellent, it works! Thanks :)
Post Reply