[TxMt] Coldfusion Comments

Josh josh at epweblogic.com
Mon Jul 10 18:26:08 UTC 2006


Perfect! Thanks so much Richard! This has been driving me nuts for  
sometime now.

Is this something that I'll need to add each time I update TM?

Josh

On Jul 10, 2006, at 1:17 PM, Richard Smith wrote:

> Sorry, I thought you didn't want CF commands to be highlighted..  
> you could replace "--" with "(--|---)" for comment.block.html.  
> Example:
>
> {	name = 'comment.block.html';
> 			begin = '<!(--|---)';
> 			end = '(--|---)\s*>';
> 			patterns = (
> 				{	name = 'invalid.illegal.bad-comments-or-CDATA.html';
> 					match = '(--|---)';
> 				}
> 			);
> 		}
>
>
> Richard
>
> On 10 Jul 2006, at 17:35, Josh wrote:
>
>> I just tried your suggestion an it didn't seem to work. Forgive my  
>> lack of TextMate knowledge but can I just add something like an  
>> "OR" somewhere so that -- and --- would be valid matches?
>
>
> ______________________________________________________________________
> 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




More information about the textmate mailing list