cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Syntax for comments in a web descriptor

Scriv1989
Super Contributor

Hi All,

 

I have a simple question. Can I comment out multiple lines of descriptor code in MEGA? I know about \c for a single line but I have about 20 descriptors to edit and this would take a while.

 

E.G.

 

[Component]="Select etc etc etc

 [If=First]

    <h1> example</h1>

 [/If]

   <p>example</p>

[/Component]

 

How would I be able to comment out all of this without using \c on each line?

 

Thanks,

Aaron

3 Replies

Many thanks for your replies!

You can de-activate a whole text object, by setting its Language setting to "Selected language only" and then not select any language. That way the code is not considered when using the descriptor. This method, however only works for an entire Text object.

 

jhorber
MEGA
MEGA

Hello Scriv1989 

 

Unfortunalely, I am not aware of a tag to set as comment a block of code in a HTML descriptor in a HOPEX version

 

If community users have tips/work-arounds for this, please share it.

Jerome