[TxMt] Slightly glitch in C/C++ language module

James Milne james.milne at mac.com
Mon Oct 30 11:37:10 UTC 2006


I've been using TextMate to edit some C/C++ code, and I've noticed  
that the language module doesn't catch functions where the parameter  
list is split across multiple lines.

For example, it will catch this:

void myFunction( int a, int b )
{
}

But it will not catch this:

void myFunction(
		int a,
		int b
		)
{
}

I was just wondering whether the regular expression should be  
modifier to ignore any white-space and new-lines between elements of  
the function definition?

I'm using TextMate 1305.

--
Kind regards,
James Milne



More information about the textmate mailing list