Author |
Topic |
|
thruska
Ketchup Master
71 Posts |
Posted - Aug 24 2006 : 3:14:41 PM
|
I've noticed throughout my use of VAX (pre-VAX builds too), the wrong colors are shown for the CRect class from MFC:
CRect ClipRegionRect; CurrDC.GetClipBox(ClipRegionRect); CurrDC.BitBlt(ClipRegionRect.left, ClipRegionRect.top, ClipRegionRect.Width(), ClipRegionRect.Height(), &MemDC, ClipRegionRect.left, ClipRegionRect.top, SRCCOPY);
With the default colors for enhanced syntax highlighting enabled: Both 'left' CRect member variables displays in 'blue'. Both 'top' CRect member variables displays in 'brown'. The Width() and Height() methods display in 'gray'. I have tooltip syntax coloring enabled and the tooltips are also sort of messed up (the coloring is nice but I don't expect it to be correct).
CRect is the only case I've run into where this happens. It doesn't appear to affect anything or cause problems making this a cool but really weird bug.
This issue is minor. From my perspective, this is a low-priority fix.
|
Thomas Hruska CubicleSoft President http://www.cubiclesoft.com/ |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Aug 26 2006 : 7:01:13 PM
|
there is a very similar effect with the structure RECT
case=822 |
zen is the art of being at one with the two'ness |
|
|
thruska
Ketchup Master
71 Posts |
Posted - Aug 28 2006 : 4:47:21 PM
|
I just ran into this scenario again a few minutes ago but not with RECT. I have a class called Time. I have another class that has a method called Time with zero parameters. When I write the method Time() in my code, it turns 'blue'. It should be 'brown'. This additional information might be helpful to create a reproduceable scenario that is simpler to debug.
|
Thomas Hruska CubicleSoft President http://www.cubiclesoft.com/ |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Sep 01 2006 : 4:28:34 PM
|
i am seeing the same thing, having set up this test. this appears to have a different cause, even though the final result is similar
case=660 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|