[TxMt] Indentation Rules for Assembly

chuti89 shadow89 at gmail.com
Tue May 10 01:17:08 UTC 2011


Hello Everyone. 

I'm working on a bundle for Assembly for the 8051/52 family. I wanted to add
some simple indentation, example: 

RSEG TAGS 
TAGS1: MOV A, at R1 ; after this line indent all the following 
           MOV B, at R0 
           RET ; after this line decrease indent 
JMP $ 

I tried this code for the indentation rule: 
 {	decreaseIndentPattern = 'RET|END'; 
        increaseIndentPattern = '*\:'; 
        indentNextLinePattern = '*\:'; 
 } 

But it doesn't do the job.. Any ideas what I'm doing wrong? 

Thanks in advance!
-- 
View this message in context: http://old.nabble.com/Indentation-Rules-for-Assembly-tp31581977p31581977.html
Sent from the textmate users mailing list archive at Nabble.com.



More information about the textmate mailing list