UE doesn't fold between block comment...

Syntax highlighting, code folding, brace matching, code indenting, and function list

UE doesn't fold between block comment...

Postby neekolo » Thu Apr 14, 2005 11:25 am

Hello,

i'm working on CSS files, and i have organised it with this kind of lines :
Code: Select all
/* <--- common Tags */
body {
...
}
...
/* ---> */

/* <--- Layout */
#header {
...
}
...
/* ---> */
etc...


and in my wordfile, for the CSS language :
Code: Select all
/Open Fold Strings = "/* <---""{"
/Close Fold Strings = "/* ---> */""}"


Before the last UE update (11b), the fold worked correctly, but now, it seems to ignore the text in comments block... :(

Any way to disable this 'feature' ?

thank you.
User avatar
neekolo
Newbie
 
Posts: 8
Joined: Mon Feb 14, 2005 12:00 am

Re: UE doesn't fold between block comment...

Postby Mofi » Sun Jun 18, 2006 12:39 pm

Yes, since v11.00b the fold strings inside comments are ignored because it caused many troubles.

Since v12 of UltraEdit fold strings inside comments must be specified as

/Open Comment Fold Strings = "..."
/Close Comment Fold Strings = "..."

It is explained in syntax.txt of v12 as follows:

UE/UES provides a means to specify unique Open and Close Fold Strings which are recognized in line or block comments only. No defaults are provided for Open and Close Comment Fold Strings.

This will work for v12 of UE for the example above:

/Open Fold Strings = "{"
/Close Fold Strings = "}"
/Open Comment Fold Strings = " <---"
/Close Comment Fold Strings = " --->"
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4064
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting