UE doesn't fold between block comment...

UE doesn't fold between block comment...

8
NewbieNewbie
8

    Apr 14, 2005#1

    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.

    6,683583
    Grand MasterGrand Master
    6,683583

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

      Jun 18, 2006#2

      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 = " --->"
      Best regards from an UC/UE/UES for Windows user from Austria