[TxMt] Coldfusion Comments

Richard Smith eightfive at mac.com
Mon Jul 10 18:17:07 UTC 2006


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060710/972463d3/attachment.html>


More information about the textmate mailing list