Block comment will maximize collapsed code blocks

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1048
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Block comment will maximize collapsed code blocks

Post by Grovkillen » Tue May 14, 2024 6:55 pm

If I type /**/ to make a block comment the editor will remove any minimized code blocks following. Should not do that.
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1362
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Block comment will maximize collapsed code blocks

Post by Dorian (MJT support) » Tue May 14, 2024 9:29 pm

I'm not able to replicate this. I can't make it remove any codeblocks, whether they're folded or unfolded. But as soon as I type /* anywhere above folded codeblocks they will unfold - but not be removed. Of course they don't do that if I select the code and then use >Edit >Block Comment (or Alt-E, M)

Are you able to help me replicate?
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
Grovkillen
Automation Wizard
Posts: 1048
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Block comment will maximize collapsed code blocks

Post by Grovkillen » Wed May 15, 2024 5:27 am

Removed was the wrong word for it, yes it unfolds any collapsed code blocks following the /* which is not wanted because you have collapsed them for a reason.

So you're replicating the problem.
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1362
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Block comment will maximize collapsed code blocks

Post by Dorian (MJT support) » Wed May 15, 2024 6:43 am

Got it, thank you. I will pass this on.
Yes, we have a Custom Scripting Service. Message me or go here

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