I was wondering if anyone knows a way to end a fold section at a newline character?
The code style I am using is:
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
The code style I am using is:
Code: Select all
[title_of_thing]
stuff
morestuff
etc
[next_thing]
blah
blahblah
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