[TxMt] Editing emails with TM
Allan Odgaard
throw-away-1 at macromates.com
Sun Nov 20 16:49:30 UTC 2005
On 20/11/2005, at 17:41, Graham Ashton wrote:
>> { name = "meta.quoted-text.email";
>> match = "^\s*>\s.*$\n?"; // make the newline part of the
>> match, if any
>> },
>> { include = "text.plain"; }, // just include the text.plain
>> rules
>
> I added this to my new language:
> [...]
> { name = 'meta.quoted-text.email';
> match = '^\s*>\s.*$\n?';
> include = 'text.plain';
> }
You collapsed two rules into one.
> Is there much to know about syntax highlighting on a freshly defined
> scope? It seems like it should be very simple, so I suspect I've
> omitted
> something straightforward.
If you fix the rule above, it should work. You can press ctrl-shift P
with the caret on quoted text to see what it is marked up as.
More information about the textmate
mailing list