Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Highlight current line under Visual 2008

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Adequat Posted - Apr 10 2008 : 11:19:35 AM
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.
15   L A T E S T    R E P L I E S    (Newest First)
support Posted - May 13 2008 : 2:46:45 PM
case=16057 is fixed in build 1638
sean Posted - Apr 21 2008 : 4:38:19 PM
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.
Adequat Posted - Apr 20 2008 : 06:23:19 AM
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)...

sean Posted - Apr 16 2008 : 11:21:16 AM
Ahh, we were talking about different bugs. Thanks for the steps.

case=16057
Adequat Posted - Apr 16 2008 : 09:21:32 AM
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.


sean Posted - Apr 15 2008 : 11:29:02 AM
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?
Adequat Posted - Apr 15 2008 : 02:33:01 AM
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.
sean Posted - Apr 14 2008 : 7:44:09 PM
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.
Adequat Posted - Apr 14 2008 : 5:33:20 PM
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.
sean Posted - Apr 13 2008 : 11:13:15 AM
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
Adequat Posted - Apr 13 2008 : 10:15:38 AM
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).
sean Posted - Apr 11 2008 : 11:03:06 AM
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.
feline Posted - Apr 11 2008 : 11:00:47 AM
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.
Adequat Posted - Apr 11 2008 : 08:50:52 AM
This does not happen in 2005.
Is there a VA setting file we can edit ourselves to change the default value?
sean Posted - Apr 10 2008 : 11:29:31 AM
Yes, we noticed this ourselves. It appears to be a VS bug (I think it happens in 2005 as well).

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000