Hi TextMate Users,
Consider the following codes: <div> ... <li> ... </li> ... </div>
When I try to fold the codes by clicking on <div>, it only folds to </li>. To fold to </div>, I have to fold <li> and then fold <div>. Is there anyway around that?
ip
On 11. Oct 2004, at 3:18, Ivan Pan wrote:
Consider the following codes:
<div> ... <li> ... </li> ... </div>
When I try to fold the codes by clicking on <div>, it only folds to
</li>. To fold to </div>, I have to fold <li> and then fold <div>. Is there anyway around that?
The default patterns doesn't fold <li>...</li>, did you change these?
It works here, also if I change your <li> to <div>, is the indent as your posting?
Is this in isolation or as part of a larger document?
Kind regards Allan
On Mon, 11 Oct 2004 07:05:36 +0200, Allan Odgaard allan@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.