[TxMt] Auto indent?

Sean Schertell sean at datafly.net
Mon Nov 28 02:49:02 UTC 2005


Ahhh, that's the stuff!  Thanks :-)


On Nov 27, 2005, at 4:51 PM, Allan Odgaard wrote:

> On 27/11/2005, at 1:52, Sean Schertell wrote:
>
>> When I copy and paste code from my Agile Rails PDF file, the  
>> indentation gets totally lost and looks like this: [...]
>>
>> Is there an easy way to indent my code?
>
> Try: Edit -> Select All and then Text -> Indent Selection.
>
>> I tried using tidy but it likes to convert my special chars into  
>> HTML entities which ruins my Ruby code.
>
> The version in the HTML bundle shouldn't do that (since utf-8 is  
> specified as encoding).
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>

::::  DataFly.Net  ::::
Complete Web Services
http://www.datafly.net




More information about the textmate mailing list