Bug in gtksourceview's handling of #if 0
- From: Michael Terry <mterry fastmail fm>
- To: Gnome Devtools list <gnome-devtools gnome org>
- Subject: Bug in gtksourceview's handling of #if 0
- Date: Sun, 11 May 2003 15:35:52 -0400
Hello. I was playing around with gtksourceview, and noticed that the
c.lang file has the cool feature of treating #if 0's as block comments.
However, it is a little broken, and may have to be taken out? (Unless
there is a sexy regexp way to fix it...)
It stops coloring at the first #endif, instead of a matching #endif.
Thus, if you have
#if 0
#if 1
#endif
#endif
it will only color to the first #endif.
-mt
Attachment:
pgpVflNZB5ohR.pgp
Description: PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]