T O P I C R E V I E W |
khb |
Posted - May 03 2008 : 10:10:36 AM Please try this: Place the cursor at the end of a line having a lot of parenthesis. Hold the shift key down and mark the line step by step by pressing the left arrow key. In this case visibility of code fragments in that line will change everytime the cursor passes a parenthesis.
VC6, WinXP, no other add-ins.
Regards Marcus |
12 L A T E S T R E P L I E S (Newest First) |
khb |
Posted - May 13 2008 : 4:16:57 PM Confirmed. Thank you for fixing this so quickly!
Regards Marcus |
support |
Posted - May 13 2008 : 2:50:29 PM case=16546 is fixed in build 1638 |
khb |
Posted - May 07 2008 : 09:15:01 AM Thank you, feline. The workaround is ok for me until it gets fixed, so I think I'll stick to 1535.
Regards Marcus |
feline |
Posted - May 07 2008 : 08:30:07 AM Thank you for the extra screen shots, what you are seeing looks the same as what I am seeing here:
case=16546
I have put this down as an urgent bug report. For now you may find setting operator to a more visible colour a useful workaround, or downgrading to VA 1626. |
khb |
Posted - May 06 2008 : 5:13:38 PM Feline, I just sent in another bunch of screen shots. I guess this is easier than explaining .
But I think you are right relating to the operator color...
Regards Marcus |
feline |
Posted - May 06 2008 : 4:57:36 PM I have the screen shots, thank you for these. They show the problem very clearly. Can you try a quick test please. In:
VC6 tools menu -> Options -> Format tab -> Colors = Operator
Can you change the colour for Operator from Black to something "obvious", perhaps red or magenta, and then select the code again. I am wondering if you are seeing what I am seeing, where code is being coloured in the operator colour when selecting it. If so you should be able to read the code when it changes to operator colour. |
khb |
Posted - May 06 2008 : 4:12:43 PM Feline, I just sent in some screen shots via the contact form.
Regards Marcus |
feline |
Posted - May 06 2008 : 08:01:14 AM Hopefully seeing the screen shots will give me some idea of what is going on here. This may be the same problem as this thread: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7652
Simply having the Chinese fonts installed should not be a problem, but it might be a factor. |
khb |
Posted - May 06 2008 : 04:34:57 AM Ok, the term "black squares" is misleading. It was just a result of my bad English What I mean is a correctly marked, i.e., inverted space character. I'll take some screen shots to clarify this soon.
Moreover, I did no "odd" changes to the fonts on my system. It is more or less a standard German WinXP SP2 installation. The only possibly "interesting" thing is that I also installed the chinese character set, but it was not activated when I faced the problems mentioned above.
I also just did a quick test using VS2003 on another machine. Here it looks much better, but something isn't correct, too. Assume I have the following line:if ( strcmp( argv[arg], "-i" ) == 0 ) then the '==' turns from white to black when marking the white space character on the right side of the '"-i"'. Again, this happens while applying the same marking pattern as before, i.e., marking the line from right to left by slowly stepping through the line with shift + left arrow key. The '==' then gets colored correctly again when passing the 'g' of the symbol 'arg', but turns to black later on again...
Regards Marcus |
feline |
Posted - May 05 2008 : 1:42:50 PM Using your settings, and VC6, I am not seeing any problems at all, with the test code I posted. I am testing in the "hello world" test C++ console project I used when testing selecting strings.
I just added my test function to the bottom of the cpp file.
Could you post a couple of screen shots showing the problem you are seeing? Or just send them to me if that is easier.
Please submit the files via the form:
http://www.wholetomato.com/support/contact.asp
including this thread ID or URL in the description, so we can match it up.
Have you done anything "odd" or "interesting" to the font files on your system? Your reference to black squares bothers me. I am not quite sure what you mean, but it reminds me of the bug reports about VA showing the wrong, or corrupt, characters. The only current case I have been able to reproduce of this required deleting the bold font files for a specific font, then setting the IDE to use the bold font, to force the IDE to draw comments in italic text.
This is the sort of thing I mean by "odd" or "interesting". Anything that might make your fonts different to mine. |
khb |
Posted - May 03 2008 : 5:28:53 PM Hm, maybe you can apply my settings I sent you regarding the other visualization problem. This is what I'm seeing when I step slowly through the line from right to left on a new console application:01: Last ")" gets marked for a short time and then turns black
02: Next ")" gets marked for a short time and then turns black
03: Next ")" gets marked for a short time and then turns black
04: Next ")" gets marked for a short time and then turns black
05: "J" is marked correctly (followed by 4 "black squares")
06: "n" is also marked correctly
07: " " is also marked correctly
08: "<" is also marked correctly
09: " " is also marked correctly
10: "I" is also marked correctly
11: "n" is also marked correctly
12: "(" is marked correctly and also the matching ")" from step 04
The rest of the already marked chars turns into "black squares"
13: " " is marked correctly, rest like 12, but the content within
the parenthesis 04-12 gets marked correctly
14: "&" is marked correctly
15: "&" is marked correctly
16: " " is marked correctly
17: ")" behaves like in step 01
18: "H" is marked correctly, but 01-17 turn into "black squares"
19: ... Within the next steps the pattern above repeats throughout the whole line.
Regards Marcus
P.S.: For me the operators are not red, but black. I'm using the IDE's and VA's standard coloring scheme. |
feline |
Posted - May 03 2008 : 11:57:18 AM I am seeing something odd. Using the following test code, in VC6:
static void testBracketsAndSelect()
{
int nA = 0, nB = 0, nC = 0, nD = 0, nE = 0, nF = 0, nG = 0, nH = 0, nI = 0, nJ = 0;
if((nA == nB) || ((nC > nD) && (nE < nF) || ((nG > nH) && (nI < nJ))))|
{
}
}
Moving the caret from there (red mark) back, slowly, I have seen this:
VA is not set to show anything in Red, but VC6 is configured to show operators in red, as you can see from the surrounding, unselected code. So I am wondering if this red colouring is coming from the IDE. I have seen brackets "disappear" occasionally, but VA is set to show matching brackets in black, and black on black is not visible.
Is this anything like what you are seeing? If text is being shown in operator colour on your system, and your operators are black, then it might seem to disappear. |
|
|