[TxMt] Mail quotation levels scope

Michael Sheets mummer at whitefalls.org
Fri Oct 13 02:22:05 UTC 2006


On Oct 12, 2006, at 7:57 PM, Fred B wrote:

> When editing a mail, double quoted blocks have this scope:
>
> 	text.mail.markdown
> 	text.html.markdown
> 	meta.block-level.markdown
> 	markup.quote.markdown
> 	markup.quote.markdown
>
> Shouldn't it be "markup.quote.double.markdown" or something?
> Or is it possible to apply different colors to different quotation
> levels like that?

This is intentional because the first > is technically on the first  
level, plus all quote levels have the same scope and are easy to  
catch. To get just the second level use "markup.quote.markdown  
markup.quote.markdown" Only the second (and third, etc) will match.  
Of course you can also add one for the third level, or forth to  
override it, etc.



More information about the textmate mailing list