Tapatalk

Code folding ending with newline character

Code folding ending with newline character

1
NewbieNewbie
1

    Aug 01, 2006#1

    I was wondering if anyone knows a way to end a fold section at a newline character?

    The code style I am using is:

    Code: Select all

    [title_of_thing]
    stuff
    morestuff
    etc
    
    
    [next_thing]
    blah
    blahblah
    
    I use a double newline between blocks so ending on two newline characters would be fine (CR or LF or CR/LF - the interpreter can handle it either way round so I can save my files in either unix or dos format).

    So what I want is to start the code fold at "[" and end at "\n\n" but I don't know how to put newline characters into the wordfile.txt, or even if it is possible. I tried ^p like it is in the UE regex but that did not work. :(

    Any help much appreciated, thanks!!

    -Murphy

    6,685587
    Grand MasterGrand Master
    6,685587

      Aug 02, 2006#2

      I have requested this also a few months ago, but it is (still = V12.10a) not possible. Use

      /Open Fold Strings = "["
      /Close Fold Strings = "["
      Best regards from an UC/UE/UES for Windows user from Austria