[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 154343] New: C,
From:       sheeettin () gmail ! com
Date:       2007-12-19 20:05:11
Message-ID: 20071219210510.154343.sheeettin () gmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=154343         
           Summary: C, C++ highlighting: string(s) in "#if 0"s are not
                    highlighted as comments
           Product: kate
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel kde org
        ReportedBy: sheeettin gmail com


Version:           2.5.8 (using KDE 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

In the C, C++, and Objective-C highlighting files (at least), one or more strings in \
an "#if 0" block may not be highlighted as a comment, but instead highlighted with \
the normal string highlighting. I noticed this behavior in this code snippet:

#if 0
       if(d->state!=CS_DEAD && d->quadmillis)
       {
           vec color(1, 1, 1), dir(0, 0, 1);
           rendermodel(color, dir, "quadrings",
ANIM_MAPMODEL|ANIM_LOOP, 0, 0, vec(d->o).sub(vec(0, 0,
d->eyeheight/2)), 360*cl.lastmillis/1000.0f, 0, 0, 0, NULL,
MDL_DYNSHADOW | MDL_CULL_VFC | MDL_CULL_DIST);
       }
#endif

The "quadrings" is shown to me, at least, in red non-italic type, while the rest \
(excluding the #if 0 and #endif) is gray and italic. \
_______________________________________________ KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic