[SVN] [C bundle] Strange syntax coloring behavior (WIP branch)

Ozy ntiozymandias at gmail.com
Sat Dec 8 06:32:53 UTC 2007


In any theme that colors the scope selector "meta.function-call," a
left parenthesis will be selected (and thus colored) after any keyword
or function name. (Cobalt is one such theme.)

Examples:

int main() {
       int a = 1986358371, b = 1696625253, c = 1702130529, d =
1734680690, e = 102;
       if (true)
               e++;
       while (false)
               a /= 0;
       printf(&a);
}

All left parentheses inside the main() function in the above code will
be colored as described (eg. beige-ish in Cobalt), whether in C mode
or C++ (though not the left parenthesis on the first line).



More information about the textmate-dev mailing list