Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Highligting references doesn't work
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

beef
Senior Member

Poland
42 Posts

Posted - Jun 12 2006 :  12:38:00 PM  Show Profile  Reply with Quote
..at all. Just nothing happens when I check (or uncheck) 'Highlight all' after references are listed. Am I doing something wrong? 'Find References' dialog is docked, the code window backround is dark (if it is important). The rest of my configuration below:

VA_X.dll file version 10.3.1522.0 built 2006.06.08
Licensed to:
VA X: [email protected] (5-user license) Support ends 2006.07.20
VAOpsWin.dll version 1.3.3.2
VATE.dll version 1.0.5.7
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
Windows XP 5.1 Build 2600 Dodatek Service Pack 2
Single processor

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft DirectX SDK (April 2006)\\Include;
C:\\Work\\c++\\Boost\\include\\boost-1_33_1;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
C:\\Program Files\\Microsoft Platform SDK\\include;

Library Includes:
C:\\Work\\c++\\Boost\\include\\boost-1_33_1;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

Other Includes:

rhummer
Tomato Guru

USA
527 Posts

Posted - Jun 12 2006 :  2:26:35 PM  Show Profile  Reply with Quote
Have you played withthe colors of Highlighting references?

its under Text Editor -> General

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 12 2006 :  2:27:48 PM  Show Profile  Reply with Quote
The checkbox should work if you have results in the window. Make sure you first run "Find References" when the caret is on a symbol, then click Highlight References.

Make sure background colors for highlighting are sufficient to notice.

http://www.wholetomato.com/products/features/findReferences.html?more=yes
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 12 2006 :  2:37:40 PM  Show Profile  Reply with Quote
quote:
Originally posted by support

The checkbox should work if you have results in the window. Make sure you first run "Find References" when the caret is on a symbol, then click Highlight References.

Make sure background colors for highlighting are sufficient to notice.

http://www.wholetomato.com/products/features/findReferences.html?more=yes



With two diffirent colors, at leat one should be noticeable on every background :) But yes, I tried to change the colors - with no avail. I also check the box with result in the window. I think that coloring should be immediately visible after checking the box, when the symbol on which I pressed the 'Find references' is still visible in the code window. It should, but it isn't.
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Jun 12 2006 :  2:44:25 PM  Show Profile  Reply with Quote
What color do you use for your background, and what colors did you choose for the Hightlight references. I use a light background color and Hightlight References has always worked for me.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 12 2006 :  3:02:55 PM  Show Profile  Reply with Quote
Background: r:0 g:72 b:72
Text: white
References: FFC0C0 and C0FFFF

Honestly, I doubt if it is a background-related problem. I can see window repainting when I check the box, but nothing changes in it. For testing, I opened CxImage project (can be found on www.codeproject.com) and perform reference searching on CxImage symbol - results are the same.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 12 2006 :  3:46:49 PM  Show Profile  Reply with Quote
Do you have "Enhance Syntax Coloring" enabled (VA Options|Environment)? Highlight references is dependent upon that setting...

case=1285

Edited by - sean on Jun 12 2006 3:49:12 PM
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 12 2006 :  6:20:33 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean

Do you have "Enhance Syntax Coloring" enabled (VA Options|Environment)? Highlight references is dependent upon that setting...

case=1285



Yes, I have.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 13 2006 :  3:44:16 PM  Show Profile  Reply with Quote
What color do you have set for "window" in control panel -> display -> appearance tab (-> advanced button under winXP)?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 13 2006 :  9:29:35 PM  Show Profile  Reply with Quote
Scratch that last question.

I'm seeing this too on a test machine. My src window bkgrnd is normally black. On the test system, changing it to white allows the highlighting to work - and changing it back to black breaks it. This might be related to case=1198.

If you change your src window bgkgrnd color to white does the highlighting start working?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 14 2006 :  12:40:41 AM  Show Profile  Reply with Quote
case=1198 - will be fixed in next build
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 14 2006 :  2:15:46 PM  Show Profile  Reply with Quote
quote:
Originally posted by sean



If you change your src window bgkgrnd color to white does the highlighting start working?




Unfortunately no, still can't force it to work. I think I just must wait for this issue to be resolved :)
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 14 2006 :  2:23:14 PM  Show Profile  Reply with Quote
Does it work if you set background for items 'Text' and 'Identifier' to white and then restart the IDE?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 14 2006 :  6:09:06 PM  Show Profile  Reply with Quote
to repeat Sean's earlier question, what color do you have set for "window" in control panel -> display -> appearance tab (-> advanced button under winXP)?

i have this set to off white (a very pale blue) and this stops highlighting working.

zen is the art of being at one with the two'ness
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 14 2006 :  6:40:54 PM  Show Profile  Reply with Quote
Hm, previously I set it to 'default', which turns it into some kind of beige (the default color for windows in my system, if you ask for it). Now, I set it literally to 'white', and... v'oilla! It works! :) Strange. But I'd rather wait for next version, the white background is too much for my tired eyes..
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 15 2006 :  4:53:10 PM  Show Profile  Reply with Quote
you have the same problem as me then.

case=1198

this should be fixed in the next build, which is something i am eagerly awaiting

zen is the art of being at one with the two'ness
Go to Top of Page

beef
Senior Member

Poland
42 Posts

Posted - Jun 17 2006 :  3:44:28 PM  Show Profile  Reply with Quote
quote:
Originally posted by feline

you have the same problem as me then.

case=1198

this should be fixed in the next build, which is something i am eagerly awaiting



Hm, the list of changes for 1524 states:

Highlight All references works with non-white, global background color. (case=1198) (Fixed in VS2005 only.)

Let me be first to report, that it is fixed now for VS2003 also. Ha! ;)
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jun 18 2006 :  05:50:02 AM  Show Profile  Reply with Quote
Doesn't work w/ Consolas font neither in VS2005 nor in VS2003:)

-bugfix

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 18 2006 :  08:49:09 AM  Show Profile  Reply with Quote
beef, when i tested this in 1524 it simply did not work for me in VS2003, but now it does. it turns out my registry settings were slightly upset. so i can now agree, it does in fact work in VS2003 as well

bugfix this working for me in both VS2003 and VS2005 with the Consolas font from here:
http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en

can you open the IDE -> tools menu -> options dialog and then cancel it, and then re-try highlight references please. you probably have the same invalid piece of data in your registry as i did, and this should reset it, thus fixing the problem.

the other thing to check is that the colours you have selected for highlight references are sufficiently distinct that they will show up on your colour scheme.

zen is the art of being at one with the two'ness

Edited by - feline on Jun 18 2006 08:50:03 AM
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jun 18 2006 :  09:03:12 AM  Show Profile  Reply with Quote
Opening and Closing doesb't fix it.
Highlighting works as soon as I switch to e.g. Courier New. So my color settings are ok, I see both L- and R-Value differently colored. FWIW, I'm using default color scheme in VS and XP. When switching back to Consolas font there's just no coloring applied here, already tried different font sizes.

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 18 2006 :  09:17:51 AM  Show Profile  Reply with Quote
i have just emailed you via the forum. can you reply to the email with both you your VS2005 and VA settings attached please:

IDE tools menu -> Import and Export Settings -> Export selected environment settings
VA Options -> Performance -> General -> Export Settings

also can you confirm that your windows global background colour is white?

are you using the Consolas font from the link i posted? or is it possible you have the font from some other location, and thus some other version of the font.

i can then import these settings and see if i can reproduce the problem here.

zen is the art of being at one with the two'ness
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jun 18 2006 :  09:39:46 AM  Show Profile  Reply with Quote
mail sent

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 19 2006 :  5:32:11 PM  Show Profile  Reply with Quote
*sigh* i have imported both the VS2005 and VA settings and highlight references works perfectly for me in my test project.

can you try this in a different project? which OS are you running?

it makes very little sense that this would be project specific like this, but it is not impossible.

zen is the art of being at one with the two'ness
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jun 19 2006 :  5:51:09 PM  Show Profile  Reply with Quote
Project doesn't matter. I've had different projects when testing it in VS2005 and VS2003.
XP+SP2+zillion of hotfixes and no CPU hogging AV running in background:)
No other Addins are currently installed. All in all it's pretty fresh install because 1 month ago my XP didnt boot anymore so I had to reinstall.

Maybe just ask the devs how a font can probably cause such an effect?

http://www.mf-sd.de
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 20 2006 :  01:39:28 AM  Show Profile  Reply with Quote
Well, I don't know what I am doing differently, but I see the same thing as bugfix. One thing I see is that Consolas apparently does not have a bold. At least I can't tell the difference.

I think this one is really the font itself. Consolas is described as being "optimized for Clear Type." Perhaps one of the optimizations is to restrict the background colors somehow? I don't know.

I could either re-open the existing (closed) case, or open a new one. But, since this is font-specific, I am not too hopeful about being able to resolve it with anything short of "use a different font."

Have you tried Bitstream Vera Sans Mono? I forget where I got it, but the link is in the forums here, if you search for it.

Next action is your choice, bugfix. Just let me know.

Joe Pizzi
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jun 20 2006 :  02:49:16 AM  Show Profile  Reply with Quote
Just tried those fonts. Well works but looks ugly:)
Another thing I've tried yesterday was to turn off cleartype which didn't have any effect to the highlighting.

@jpizzi
Since you're seeing the same problem, do you have ClearType Tuner from http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx installed as well? Maybe feline hasn't and that ubertoy tunes too much:)

http://www.mf-sd.de
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jun 20 2006 :  10:18:28 AM  Show Profile  Reply with Quote
consolas font problems is case=1206

Edited by - sean on Jun 20 2006 10:22:19 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 20 2006 :  1:01:35 PM  Show Profile  Reply with Quote
this is very odd. here is a screen shot of what i am getting:



i have highlight all set to a rather obvious red from when i was testing it. this is what my win2k machine claims is the Consolas font, as downloaded from Microsoft. i do not have clear type tuner installed or turned on on this machine, it is running inside VMWare.

is anyone seeing this problem on win2k? or is everyone who gets this running on winXP?

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 20 2006 :  1:35:04 PM  Show Profile  Reply with Quote
Same problem here: 1524, winxp, vs2005, consolas font, no cleartype tuner = no highlighting.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jun 20 2006 :  4:26:55 PM  Show Profile  Reply with Quote
*insert rude word here*

i have just installed both VS2005 and Consolas on a WinXP machine, and now i can reproduce this. the problem appears to be OS specific!

zen is the art of being at one with the two'ness
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jun 20 2006 :  7:48:43 PM  Show Profile  Reply with Quote
I *do* have the ClearType tuner installed. As you observed, turning it on or off doesn't seem to matter. Uniwares seems to support that having it installed doesn't matter.

The (system-wide) ClearType stuff only works in XP. Perhaps this explains the appearance of being OS specific?

Joe Pizzi
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000