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
 Highlight current line under Visual 2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Adequat
Tomato Guru

182 Posts

Posted - Apr 10 2008 :  11:19:35 AM  Show Profile  Reply with Quote
The color defined for this setting, is not set when relaunching Visual 2008. If one goes to the Visual setting / Font and colors, and just confirm without chaning anything, then the colors get applied for the rest of the session. But next time Visual is launched, the same operation needs to be done.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 10 2008 :  11:29:31 AM  Show Profile  Reply with Quote
Yes, we noticed this ourselves. It appears to be a VS bug (I think it happens in 2005 as well).

Edited by - sean on Apr 10 2008 11:31:22 AM
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 11 2008 :  08:50:52 AM  Show Profile  Reply with Quote
This does not happen in 2005.
Is there a VA setting file we can edit ourselves to change the default value?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 11 2008 :  11:00:47 AM  Show Profile  Reply with Quote
I do not know where this should be stored, but you could try looking in the registry under:

HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\FontAndColors\
you might find something helpful here. It is possible that editing something here with the IDE closed will help. However I have not tried this here, so its just a guess.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 11 2008 :  11:03:06 AM  Show Profile  Reply with Quote
Try this:
open the VS options dialog
find the Current Line (VA X) entry
change the color to white
change the color to Maroon (the default)
press OK

Now the color should be the default when you restart vs2008.

Edited by - sean on Apr 11 2008 11:03:37 AM
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 13 2008 :  10:15:38 AM  Show Profile  Reply with Quote
Sean, this does not work.

feline, I can find the value there:
HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\9.0\\FontAndColors\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}\\Current Line (VA X) Foreground

The value is correct (0x00bcbcbc in my case). But for some reason, VA does not take it into account. BTW, why isn't this setting in the VA setting dialog, where other color settings are set? This is not consistent (and as you can see, this leads to bugs).
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 13 2008 :  11:13:15 AM  Show Profile  Reply with Quote
We must be experiencing different problems then.

The color is used by VS not VA.

Try deleting the cache as described here:
http://docs.wholetomato.com?W309
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 14 2008 :  5:33:20 PM  Show Profile  Reply with Quote
Something "interesting": If I delete the cache as you describe, then launch VS, the color is OK. If I quit VS and launch it again, the color is wrong again. In other words, what is written in the cache is wrong.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 14 2008 :  7:44:09 PM  Show Profile  Reply with Quote
yes, that is odd.

Try deleting the HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\9.0\\FontAndColors\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}\\Current Line (VA X) entries (after exiting the IDE).

Then run "devenv /setup" from the command line.
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 15 2008 :  02:33:01 AM  Show Profile  Reply with Quote
Does not help. Note that I have recently changed computer with a new install from scratch, and the problem happens always. Therefore I guess this must be reproducable. With VS 2008, not with VS 2005.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 15 2008 :  11:29:02 AM  Show Profile  Reply with Quote
Here are the steps I'm using for the problem I've seen:
1. open VS2008 Options dialog
2. select Current Line (VA X) in the Display items list of the Fonts and Colors page.
3. select a different color for item foreground.
4. press cancel.
5. note color change in editor.
6. repeat steps 1 and 2.
7. note item foreground is back to default
8. press cancel.
9. color is restored in editor


Can you please list out the steps needed to see the problem you are seeing?
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 16 2008 :  09:21:32 AM  Show Profile  Reply with Quote
I am speaking about this:
1) Select a custom color for "Current Line (VA X)" (I use light grey 0x00BCBCBC)
2) Press OK to close the VS dialog
3) Current line color is OK in editor
4) Quit VS
5) Run VS again
6) Current line color is back to maroon :-(
7) Open VS option dialog, and simply hightly "Font and color" and press OK to close the dialog (no need to edit or highlight "Current Line (VA X)")
8) Current line color is OK in then editor
9) Quit VS
10) Run VS again
11) Current line color is back to maroon :-(
etc...
This is reproducable with VS-2008, incl. on a fresh WindowsXP + VS install.


Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 16 2008 :  11:21:16 AM  Show Profile  Reply with Quote
Ahh, we were talking about different bugs. Thanks for the steps.

case=16057
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 20 2008 :  06:23:19 AM  Show Profile  Reply with Quote
Things are getting worse...
I have tried to change the VA setting from "Dotted box" to "Solid box"... and restarted the IDE...
Now "Current Line (VAX)" is missing from the IDE Fonts and Colors options.
I have of course tried your advice:
http://docs.wholetomato.com?W309
But this does not work. If I re-enter the following settings in the registry AND clear the cache entry, then the color is OK when first launching VS2008, but if I quit and launch again, the color is missing. In ANY case, "Current Line (VAX)" is missing from the IDE Fonts and Colors options, always.

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\9.0\\FontAndColors\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}]
"Current Line (VA X) Foreground"=dword:00bcbcbc
"Current Line (VA X) Background"=dword:02000000
"Current Line (VA X) FontFlags"=dword:00000000

Actually I have tried everything I can thing of: like deinstalling/reinstalling VA, and reimporting past VS20008 settings. Does not help! (I don't want to reinstall VS2008)...

Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 21 2008 :  4:38:19 PM  Show Profile  Reply with Quote
Try running 'devenv /setup' to see if that makes a difference.

If not, create a new temporary user account and see if the new problem occurs there too? Do not import your vs2008 settings from your regular account to the temporary one.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 13 2008 :  2:46:45 PM  Show Profile  Reply with Quote
case=16057 is fixed in build 1638
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000