Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Current line selection color

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
Esone Posted - Mar 19 2007 : 11:50:29 AM
Highlighting(selecting) the current line with dotted border is interesting idea. But for me it's color (128, 0, 0) is too contrast. I would like to be able to change its color: maybe not in VAX settings, but in the registry. Is that possible now?
22   L A T E S T    R E P L I E S    (Newest First)
pcgalen Posted - Apr 13 2011 : 2:32:31 PM
Thanks for your reply. They were at the bottom of the text editor heading under options/fonts and colors/Text Editor. Thanks for your help anyway. I just wasn't scrolling down far enough until I saw all of the VAX entries in the registry under the GUID provided in the 8.0 reg file.

Regards,
NumbLock
feline Posted - Apr 13 2011 : 2:04:16 PM
For VS2008 you should see the key:

HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\9.0\\FontAndColors\\Cache\
Simply delete this key, with the IDE closed, and then reload the IDE. Does this fix the problem for you?

If you don't have this key, at which point in the key path does your registry look different?
pcgalen Posted - Apr 13 2011 : 09:47:05 AM
I am running the current build info below under VS 2008 PRO. The reg fix to add VAX current line to fonts and colors will not work in 9.0. The registry structure is totally different. Can anyone provide a regedit script to get the VAX line colors added to the fonts and colors dialog?

VA_X.dll file version 10.5.1738.0 built 2009.10.01
Licensed to:
VA X: xxxxxxxxx (Non-renewable license) Support ends 2010.01.14
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.4462
Font: Courier New 13(Pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
2 processors (x86)

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;

support Posted - Apr 14 2007 : 12:22:51 AM
Fixed in build 1553.
sean Posted - Mar 23 2007 : 06:20:01 AM
solid line style bug in vs7 is me: case=5642
bugfix Posted - Mar 23 2007 : 06:02:09 AM
quote:
Originally posted by sean
As far as background color goes:
1 - choosing a new background color that does not make your enhanced syntax colors illegible is difficult and we really don't want to have two sets of foreground colors (one for inactive line and one for active line)

sure, a user would have to match it w/ his other color settings.
quote:
2 - the technical reason... time. I went over budget on time so the solution doesn't involve typical VA coloring. We can revisit this when there are no bugs left. :)


i ll stop reporting bugs:)))
sean Posted - Mar 23 2007 : 05:47:24 AM
hmm - CurrentLineMarkerStyle isn't working in vs2002 and vs2003 for me either. It does work in vs2005. Not sure if that is a VA bug or a VS bug. I could have sworn I had a solid line in 2003 on one of the iterations.

CurrentLineBorderStyle is internal and maps to CurrentLineMarkerStyle when we hit the registry.

As far as background color goes:
1 - choosing a new background color that does not make your enhanced syntax colors illegible is difficult and we really don't want to have two sets of foreground colors (one for inactive line and one for active line)
2 - the technical reason... time. I went over budget on time so the solution doesn't involve typical VA coloring. We can revisit this when there are no bugs left. :)
bugfix Posted - Mar 23 2007 : 04:43:39 AM
everyone has its own taste i guess:)
the path you ve given seems to be wrong. those values don't exist on, well CurrentLineMarkerStyle does under ..\\VANet.
changing it doesnt seem to do anything and neither does creating it under ..\\VANet7
creating ..\\VANet\\CurrentLineVisualStyle does have the effect you ve described.

is there a technically reason that changing background color doesnt work? wouldnt smth like a transpblit w/ ide background color as key color work?

edit:
whats CurrentLineBorderStyle for?:) tried using values you ve given for CurrentLineMarkerStyle but doesn't do anything.
sean Posted - Mar 23 2007 : 02:56:56 AM
That's funny - I found background coloring to be very irritating!

If you don't use VA enhanced coloring or are willing to forego it on the active line, then you can set both foreground and background color with a change to the registry. It is not possible to set only the background color.

HKCU\\Software\\Whole Tomato\\Visual Assist X\\[VANet8|...]

DWORD: CurrentLineVisualStyle
0x2 = change bg and fg of active line - no va coloring on the line
0x2100 = box the line in using fg color (default)


While we're at it, the line style for the default behavior rect can be changed from dotted to solid (doesn't work for vs7 in build 1549):

DWORD: CurrentLineMarkerStyle
0x1 solid
0x4 dotted (default)


Changes to either of these registry values should be made while all IDE instances are closed.
bugfix Posted - Mar 23 2007 : 02:35:40 AM
is the background color setting being honored? because it doesn't seem to do anything here (vs2003 sp1.
id like to get rid of focus rect and instead use a real color like every other editor does. i find that focus rect rather irritating.
feline Posted - Mar 22 2007 : 2:42:47 PM
Can you post your

VA Options -> About -> Copy Info

details to this thread please:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6039

you are the second person to report this effect, but so far I cannot reproduce it. Perhaps there is something your two machines have in common.
Esone Posted - Mar 22 2007 : 2:31:47 PM
Thank you, these registry manipulation helped me to get "Current Line (VA X)" into the list.

Another issue with current line selection: when I start VS2005, and last loaded project gets loaded, then I don't see the selection in the documents, that are opened with the project startup. But when I do open any other document(source file) from Solution Explorer, the current line selection works OK for this document. But still NO for documents, that opened with VS2005 startup.

VS2003 also has this problem.
feline Posted - Mar 22 2007 : 1:57:43 PM
If that does not work then you might want to export your VS2005 settings, do the reset, then import the settings.

IDE tools menu -> Import and Export Settings -> Export selected environment settings

I am not sure how complete this is though.
sean Posted - Mar 22 2007 : 11:57:50 AM
You could TRY manually inserting the following registry entries to get the "Fonts and Colors" items to appear in vs2005 options. You will need to modify the script per the embedded comment lines (which should be removed). Typical registry editing disclaimers apply...

No guarantee that this will work - but worth a try if you don't want to do reset.


Windows Registry Editor Version 5.00

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

[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\FontAndColors\\Cache\\{A27B4E24-A735-4D1D-B8E7-9716E1E3D8E0}]


comment: increment current value of CountOfItems by 1
"CountOfItems"=dword:


comment: replace __ with new CountOfItems - 1 in decimal
"ItemForeground__"=dword:01000004
"ItemBackground__"=dword:02000000
"ItemFontFlags__"=dword:00000000
"ItemForegroundValid__"=dword:00000001
"ItemBackgroundValid__"=dword:00000001
"ItemFontFlagsValid__"=dword:00000001
"ItemName__"="Current Line (VA X)"
"ItemLocalizedName__"="Current Line (VA X)"
"ItemAutoForeground__"=dword:01000000
"ItemAutoBackground__"=dword:01000001
"ItemMarkerStyle__"=dword:00002100
"ItemLineStyle__"=dword:00000004
"ItemFlags__"=dword:00000017
"ItemDescription__"=""
"ItemNameValid__"=dword:00000001
"ItemLocalizedNameValid__"=dword:00000001
"ItemAutoForegroundValid__"=dword:00000001
"ItemAutoBackgroundValid__"=dword:00000001
"ItemMarkerStyleValid__"=dword:00000001
"ItemLineStyleValid__"=dword:00000001
"ItemFlagsValid__"=dword:00000001
"ItemDescriptionValid__"=dword:00000000

Esone Posted - Mar 22 2007 : 11:08:00 AM
When installing VA 1549, I have chosen not to reset the IDE. That's because I didn't want to discard all those my custom toolbars and shortcut settings.
feline Posted - Mar 22 2007 : 09:22:53 AM
When you installed VA did you say Yes to reset VS2005? An IDE reset is required for VA to add this item to the IDE's font list.

I am seeing this option here, using VS2005 and VA 1549
Esone Posted - Mar 22 2007 : 06:01:09 AM
Some problem here. I have both VS2003 and VS2005 installed.
The option "Current Line (VA X)" exists in VS2003's list.

But VS2005 does not have this option, thus I can't change selection color in VS2005.
Esone Posted - Mar 20 2007 : 04:09:37 AM
That's beautiful, thank you!
RickHodgin Posted - Mar 19 2007 : 1:25:40 PM
This is a very nice feature! Thanks, guys!

- Rick Hodgin
RickHodgin Posted - Mar 19 2007 : 1:23:16 PM
Okay, found it. It's under VAssistX|Advanced|Correction called "Highlight active line in text editor".

- Rick Hodgin
RickHodgin Posted - Mar 19 2007 : 1:12:44 PM
How does highlighting work? I've set it (in 1549) but it doesn't seem to do anything, either while editing or stepping through source.
sean Posted - Mar 19 2007 : 12:57:18 PM
Tools|Options|Environment|Fonts and Colors

Change foreground color for Display item name: Current Line (VA X)

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