Hello,
just try to re-indent the following snippet with textmate and wonder about it. ;)
Is there a way to fix the indentation? In which bundle should it be fixed? HTML oder PHP?
<html> <header> <body> <?php $array['foo'] = array( 'foo' => 'bar', 'bar' => 'foo' ); $array['bar'] = array( 'foo' => 'bar', 'bar' => 'foo' ); ?>
<?php if (test == "") { ?> <ul> <li>foo</li> <li>bar</li> </ul> <?php } else { ?> <ul> <li>bar</li> <li>foo</li> </ul> <?php } ?> </body> </header> </html>
Regards, Wolfgang
Hi,
is this the wrong place to post this, or should I be more patient? ;-)
Wolfgang
At 19.12.2006, 12:40 Wolfgang wrote:
Hello,
just try to re-indent the following snippet with textmate and wonder about it. ;)
Is there a way to fix the indentation? In which bundle should it be fixed? HTML oder PHP?
<html> <header> <body> <?php $array['foo'] = array( 'foo' => 'bar', 'bar' => 'foo' ); $array['bar'] = array( 'foo' => 'bar', 'bar' => 'foo' ); ?>
<?php if (test == "") { ?> <ul> <li>foo</li> <li>bar</li> </ul> <?php } else { ?> <ul> <li>bar</li> <li>foo</li> </ul> <?php } ?>
</body> </header> </html>
Regards, Wolfgang
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Wolfgang wrote:
Hi,
is this the wrong place to post this, or should I be more patient? ;-)
Wolfgang
At 19.12.2006, 12:40 Wolfgang wrote:
Hello,
just try to re-indent the following snippet with textmate and wonder about it. ;)
Is there a way to fix the indentation? In which bundle should it be fixed? HTML oder PHP?
In html. See:
http://macromates.com/textmate/manual/appendix#indentation_rules
Hi,
2006/12/31, Jacob Rus jrus@hcs.harvard.edu:
Wolfgang wrote: In html. See:
http://macromates.com/textmate/manual/appendix#indentation_rules
The indention behavior of TextMate is definitely broken, at least indentNextLinePattern does not work as the manual described.
Regards, jjgod.
Jjgod Jiang wrote:
2006/12/31, Jacob Rus jrus@hcs.harvard.edu:
In html. See:
http://macromates.com/textmate/manual/appendix#indentation_rules
The indention behavior of TextMate is definitely broken, at least indentNextLinePattern does not work as the manual described.
Did you have an example of where it's broken?