Please Kill Trailing Space Warnings within Comment Blocks

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Please Kill Trailing Space Warnings within Comment Blocks

Post by jpuziano » Sat Dec 10, 2005 10:18 am

Hi Support,

This using 8.0 beta 007 - In the Macro Scheduler editor, it now makes trailing spaces on lines of code visible by coloring them grey, that's great.

If I use /* and */ around a block of lines, I see that the grey coloring goes away on any lines ending with a space within the comments block... That's good too since these are now comments and those spaces can't affect the operation of the macro... so I don't need them pointed out to me.

However, when I save the update and close the screen in the editor, why does the popup Warning window still list out all lines that end in a space... even showing those that are now within the comment block?

I found this as I often save snippets of code from forum posts for later use. I create a new example macro and past the entire forum post in there. Then, I comment out everything that is not the script I want as an example. When I save and exit, the warning spits out so many lines with spaces at the end, the popup window is taller than the screen itself.

Comments are comments... why warn about comment lines that end in a space? Can this behavior be changed? What is your take on this?

Also, I'm curious as to how others may be saving Macro Scheduler code snippets for later use. If anyone has any favorite ways that work well, please let us know. I think TextPad has a code snippet saving & insertion feature... though I haven't used it yet.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat Dec 10, 2005 10:48 am

Good point. Thanks for pointing that out.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Thu Nov 23, 2006 7:49 am

Just for the record, I see this issue has been fixed.

I'm not sure when it was fixed but its no longer there in 9.0.037 BETA.

Thanks Support.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts