[TxMt] XML Indenting

Nicholas Orr nick at goya.com.au
Mon Apr 2 06:11:17 UTC 2007


G;day all,

I'm an infrequent TM user, as I spend 90% of my time in FileMaker  
Pro, but do some occasional work in XSLT.  I was wondering if someone  
could help with an issue with indenting in XML.  I've got some code  
that looks like the following as output in XML :

<Style>
	<Data>Some text Here.</Data>
</Style>
<Style>
	<Data>Some text Here.
		Some more text here.</Data>
	</Style>

This has been indented using the "Indent Selection" option.   
Obviously I'd like it to work the same on the second set of text as  
it does on the first.  I'm told you can change this via the bundle,  
but grep and regex are like greek to me.  Is this something I can  
modify, or this maybe intended behaviour?

Thanks,
Nick




More information about the textmate mailing list