[TxMt] Re: foldingStopMarker as two empty lines

sergey usercheg at gmail.com
Mon Aug 21 13:01:58 UTC 2006


On 2006-08-21 15:41:27 +0300, Timothy Bates 
<timothy.c.bates at gmail.com> said:
Very strange \n\n works in find but foldingStopMarker ignores it.
Is the any restrictions for patterns for foldingStopMarker ?

>> I have to work with text file where block delimiter is more than 1 empty
>> lines.
> 
> You need to alter the file to make it amenable to TM's folding scheme:
> 
> One solution is to do a find and replace on "\n\n",replacing with something
> like "end\n" or your choice of marker (closing bracket, a symbol like ─ or
> whatever else unique which appeals to you)
> 
> That makes the file easy to read, and easy to write a fold for.
> 
> t






More information about the textmate mailing list