HTML folding does not work properly in a very simple hand-written HTML page. This is a movie depicting what happens:
http://www.hashref.com/textmate/tmbug_html_folding.mov
There I try to hide three blocks:
1. The "body" CSS element is correctly folded 2. The "style" tag is not 3. The "head" tag is not
-- fxn
Xavier,
Folding in TextMate is currently based solely on indenting. That's the reason it fails with the style and head tags but works with the css rule.
//jarkko
On 8.12.2004, at 22:40, Xavier Noria wrote:
HTML folding does not work properly in a very simple hand-written HTML page. This is a movie depicting what happens:
http://www.hashref.com/textmate/tmbug_html_folding.mov
There I try to hide three blocks:
1. The "body" CSS element is correctly folded 2. The "style" tag is not 3. The "head" tag is not
-- fxn
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate
-- Jarkko Laine http://jlaine.net
Added to the FAQ: http://wiki.macromates.com/textmate/show/FAQ#folding_problem
Cheers, -Ralph.
On 08.12.2004, at 22:25, Jarkko Laine wrote:
Xavier,
Folding in TextMate is currently based solely on indenting. That's the reason it fails with the style and head tags but works with the css rule.
//jarkko
On 8.12.2004, at 22:40, Xavier Noria wrote:
HTML folding does not work properly in a very simple hand-written HTML page. This is a movie depicting what happens:
http://www.hashref.com/textmate/tmbug_html_folding.mov
There I try to hide three blocks:
1. The "body" CSS element is correctly folded 2. The "style" tag is not 3. The "head" tag is not
-- fxn
On Dec 8, 2004, at 3:40 PM, Xavier Noria wrote:
There I try to hide three blocks:
1. The "body" CSS element is correctly folded 2. The "style" tag is not 3. The "head" tag is not
The content of the style tag is not itself indented; TM doesn't handle that situation (properly). If instead you had the following, it would work properly:
<style> <!-- body { color: "black"; } --> </style>