Jump to content
Macro Express Forums
terrypin

Background colour - trivial quirk ?

Recommended Posts

It seems that if a macro has only one command then it cannot be given a background colour. Only spotted it while I was highlighting commands containing a certain text string, and some of these are in macros containing just a single command (usually Program Launch.).

 

Trivial to fix by adding a redundant Comment.

 

Can others reproduce please?

Share this post


Link to post
Share on other sites

Seems to work for me. Note that the Macro Express Script Editor automatically highlights a macro command when it has been entered so the background color is blue. But, if you close the macro and reopen it the background color appears correctly.

Share this post


Link to post
Share on other sites

Thanks, yes, I hadn't tried re-opening. Although before doing so, if you remove focus from the command by clicking elsewhere (outside the main script section), then the command is not highlighted with the assigned colour.

Share this post


Link to post
Share on other sites

I made a one-line script, coloured the line in yellow, saved the script, closed the script, and reopened the script. The line is yellow.

 

image.png.4353d96b30b07e79251bd42b15b02f47.png

Share this post


Link to post
Share on other sites

For me it is also appearing as acantor describes.  Cannot "unhighlight" a single line of code, so you can never see the color. 

Share this post


Link to post
Share on other sites

The problem is that one can't see the color because the line has the cursor. The selected line has the normal highlight which makes the background invisible. Closing and opening like Acantor suggests has the effect of having no line selected. But once you select that line, one can't unselect it. I.E. after clicking anywhere in the main window, there always need to be at least one selected. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...