+2

C++ comment syntax highlighting

Adam Bowen 14 jaar geleden 0
Comments between a function argument list and function body are not correctly highlighted.

The following code illustrates the problem:

    void foo() // comment
    {
    }

"// comment" will not be highlighted.

Pertinent details:

Sublime Text 2 Alpha, Build 2027 (32 bit Linux)
Espresso Libre theme
C++ Syntax mode
Ubuntu 10.04