[TxMt] text coloring + function declarations spanning more than one line

Kevin Ballard kevin at sb.org
Sat Dec 9 21:28:04 UTC 2006


Multi-line function definitions in C++ cannot be definitively matched  
with the current TM grammar capabilities. You'll have to wait until  
at least TM 2.0 before that can be fixed.

On Dec 9, 2006, at 9:08 AM, shin kurokawa wrote:

> In C++ mode, what is the correct method to modify
> tmthemes such that function declarations written like :
>
>  TF Funk(T1 arg1, T2 arg2)
>
> ...and...
>
>  TF Funk(
>         T1 arg1,
>         T2 arg2,)
>
> ...or...
>
>  TF
>   Funk(
>         T1 arg1,
>         T2 arg2,)
>
> ..are rendered identically? or is that even possible?
> (TF above is the function return type, possibly more than one
> word to include a storage type. T1/T2 above are argument types,
> again maybe augmented by an additional word(s) like const or
> default assignments).

-- 
Kevin Ballard
http://kevin.sb.org
kevin at sb.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061209/67b82b9f/attachment.html>


More information about the textmate mailing list