[TxMt] Auto indent?
    Allan Odgaard 
    throw-away-1 at macromates.com
       
    Sun Nov 27 07:51:29 UTC 2005
    
    
  
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).
    
    
More information about the textmate
mailing list