[TextMate] Code Folding

Ivan Pan ifanpan at gmail.com
Mon Oct 11 05:25:29 UTC 2004


On Mon, 11 Oct 2004 07:05:36 +0200, Allan Odgaard <allan at macromates.com> wrote:
> The default patterns doesn't fold <li>...</li>, did you change these?

Oops, my mistake. Here try this.
<div>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
This part is still shown.
</div>
To fold <div>, you have to fold <ul> first.

It applies to <head> <style> </style> </head>. I need to fold <style> first.
-- 
"If you ever find yourself on the side of the majority, it is time to
pause, and reflect.
-- Mark Twain



More information about the textmate mailing list