Author |
Topic |
|
mjv
Junior Member
16 Posts |
Posted - Mar 27 2004 : 2:58:40 PM
|
I reported this earlier in version 1221: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=1874
This still isn't working, the syntax coloring works fine for a while then quits. I'm running VC6.
I'm at home now. However, at work I had backed off 1221 to 1220 and source window syntax coloring seemed to work fine.
Vitals: VA_X.dll file version 10.0.1223.0 Licensed to: VA X: VA 6.0: ******@***.com (1-user license) VA 4.1: ******@***.com (1-user license) VAOpsWin.dll version 1.0.0.44 MSDev.exe version 6.0.8168.1 Devshl.dll version 6.0.8798.0 Devedit.pkg version 6.0.8447.0 Font: Lucida Console 13(Pixels) Comctl32.dll version 5.82.2800.1106 WindowsNT 5.1 Build 2600 Service Pack 1 Single processor
Platform: Custom Stable Includes: G:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE; G:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE; G:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
Library Includes: G:\\PROGRA~1\\MICROS~3\\VC98\\MFC\\src; G:\\PROGRA~1\\MICROS~3\\VC98\\MFC\\include; G:\\PROGRA~1\\MICROS~3\\VC98\\include; G:\\PROGRA~1\\MICROS~3\\VC98\\atl\\include; G:\\PROGRA~1\\MICROS~3\\VC98\\crt\\src; Y:\\products\\eic\\src; Y:\\products\\eic\\inc; Y:\\BuildYellow\\eic\\src; Y:\\BuildYellow\\eic\\inc;
Other Includes: Y:\\products\\eic\\inc; Y:\\products\\common\\inc; Y:\\BuildYellow\\external\\inc\\stingray_2002; Y:\\BuildYellow\\external\\WTL\\include; Y:\\BuildYellow\\eic\\inc; Y:\\BuildYellow\\common\\inc; Y:\\BuildYellow\\external\\inc; Y:\\BuildYellow\\external\\STLPORT\\stlport-4.5.3\\stlport; G:\\PROGRA~1\\MICROS~3\\VC98\\ATL\\INCLUDE; G:\\PROGRA~1\\MICROS~3\\VC98\\INCLUDE; G:\\PROGRA~1\\MICROS~3\\VC98\\MFC\\INCLUDE; G:\\PROGRA~1\\MICROS~3\\VC98\\ATL\\INCLUDE; G:\\PROGRA~1\\MICROS~3\\VC98\\INCLUDE; G:\\PROGRA~1\\MICROS~3\\VC98\\MFC\\INCLUDE; Y:\\BuildYellow\\external\\inc\\stingray_2002;
|
|
mjv
Junior Member
16 Posts |
Posted - Mar 29 2004 : 5:37:20 PM
|
Having some time to play with this I have found out 2 things:
1) If you were to change something in the Desktop (background color, icon width, number of colors (High color vs True COlor), VAX will start doing syntax coloring again. Perhaps in response to some windows event.
2) When I select text, through double clicking or shift-select, the colors will start disappearing. |
|
|
Old as dirt
Tomato Guru
USA
246 Posts |
Posted - Mar 31 2004 : 11:06:14 AM
|
I have just confirmed that changing from true color to high color and only testing it and not accepting it will bring back the context coloring. |
Ken |
|
|
mjv
Junior Member
16 Posts |
Posted - Mar 31 2004 : 12:27:33 PM
|
I find just changing the background color in the Appearance tab will bring color back.
I heard in another thread that perhaps build 1224 should fix these and other kinds of problems. Can't wait. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Mar 31 2004 : 3:40:29 PM
|
Build 1224 fixes some coloring problems. We do not expect it to fix all. In particular and despite numerous hours of testing, we are unable to get coloring to fail on any of our VC++ 6.0 installations.
Something happens that VA X does not expect. We are still hunting. Post clues if you find more. |
Whole Tomato Software, Inc. |
|
|
Old as dirt
Tomato Guru
USA
246 Posts |
Posted - Mar 31 2004 : 4:32:54 PM
|
I can make it happen every time I double click on a function name. I don't remember this happening this often before so I will shut down VS 6 and see if it still happens when I come back up |
Ken |
Edited by - Old as dirt on Mar 31 2004 4:39:48 PM |
|
|
Old as dirt
Tomato Guru
USA
246 Posts |
Posted - Mar 31 2004 : 4:46:55 PM
|
Yes it still happens every time. It seems to happen whenever I select a function name in the declaration (or is it the definition) anyway where it follows the class name and the :: in the cpp file. It doesn't seem to matter what method I use to select it. |
Ken |
|
|
mjv
Junior Member
16 Posts |
Posted - Mar 31 2004 : 5:06:18 PM
|
I see the same thing as Dirt - plus if double clicking on a member within an object makes it happen. For example double clicking on Empty in strDomain.Empty() makes coloring disappear.
Also you can quickly reenable coloring by bringing up the Tools Options dialog and just hit Cancel.
One more clue, the color will not be reenabled if something is selected and hilighted. In the above example if I leave Empty in a selected state the workaround doesn't work.
Also I run VC6 with a black background. Text foreground is set to white and background set to black. |
|
|
mjv
Junior Member
16 Posts |
Posted - Mar 31 2004 : 5:32:29 PM
|
This is an interesting clue:
quote:
Also I run VC6 with a black background. Text foreground is set to white and background set to black.
If I switch Text foreground and background to [Automatic] [Automatic] the color seems to stick. If I revert back to white/black, text selection disables coloring.
Note that my normal background application Window is set to a whitish color. |
|
|
mjv
Junior Member
16 Posts |
Posted - Apr 02 2004 : 10:59:46 AM
|
Another clue...
I switched my IDE settings to use the light gray as the text background color. Now if I leave the foreground as automatic, which happens to be black, the coloring works fine . If I set the foreground text color to white or dark gray (I haven't tried all combinations) coloring will stop sometimes .
The events that cause it to stop are different than before. I can reproduce this in the class view be clicking on one member on one class then another, effectively switching files. |
|
|
zeflash
Starting Member
1 Posts |
Posted - Apr 07 2004 : 10:20:32 AM
|
Hi, I've been using VA for some time now (v6 and now vX) and I've noticed a case where syntax highlighting has problems; When the window font color in the windows appearance settings is set to anything else but black, VA won't be able to do all the syntax highlighting. In this case msdev has its format font colors set to automatic for both the font and the background.
If I set the font color to at least black (while leaving the background to automatic) then syntax coloring works again.
Maybe it's related? does it check the font color before doing the coloring and replace it only if it's black? |
|
|
|
Topic |
|