C/C++ brace matching
barcaroller at sympatico.ca
barcaroller at sympatico.ca
Thu Mar 15 22:40:57 GMT 2007
I have noticed that brace highlight matching in KDevelop does not always
work properly. The behaviour seems to be random but I have not had enough
time to investigate.
For example:
foo
{
if (cond)
{
} // <-- always matches properly
// 10 empty lines below
} // < --not always matched
The last brace is not always matched, depending on how many empty lines
there are. If I remove two empty lines, the braces match; if I add them
back (just a couple of newlines), the braces no longer match. Looks like a
bug but maybe someone could shed more light on this.
More information about the KDevelop
mailing list