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
 Syntax Coloring not working on all classes
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CanopenR
Junior Member

USA
19 Posts

Posted - Mar 08 2004 :  12:41:01 PM  Show Profile
I can not get some syntax color to work correctly.
Example:
CString strTest; <- all will be black
but
CString *strText; <- "CString" will be blue, reset black

I can simply add and remove the "*" to cahnge the color.

I want the color for both caes.

Anyone have any ideals?
Other Classes haveing the same problem

CFileFind
CTime
CArray
CSettingsDLG <- Custom class
PITEMDATA <- Custom structure
LPNMLISTVIEW

I never had this problem in 4.1 ro 6.0...



________
___/___/
__/___
_/___/anopenR

CanopenR
Junior Member

USA
19 Posts

Posted - Mar 08 2004 :  12:43:12 PM  Show Profile
Also,
This problem is happening in VC++ 6.0, .Net & eMbedded VC++ 4.0

________
___/___/
__/___
_/___/anopenR
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 08 2004 :  9:23:12 PM  Show Profile
We cannot reproduce the problem. Your IDE probably is outputting text in a manner which we do not expect.

Anyone else with the problem?

Anything unusual about your font? Language settings? IDE config?

Whole Tomato Software, Inc.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 09 2004 :  11:06:41 AM  Show Profile
Actually, yes, although not exactly the same. I have a file where several functions return CString. Some of the CStrings are blue and some are black. Can't detect a pattern.

Unusual features: Verdana 11pt, line numbers, mid-grey background. But none of these seems to make a difference.

Never noticed it before 1219.

I'll send you a screenshot.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004

Edited by - Stephen on Mar 09 2004 11:10:24 AM
Go to Top of Page

Morf
New Member

United Kingdom
2 Posts

Posted - Mar 12 2004 :  04:40:35 AM  Show Profile
To be honest, Ive had black seemingly random text in the last few builds...Most notable area of randomness is the output window...If I scroll it slowly left and right, the black text changes around...
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 15 2004 :  10:45:42 AM  Show Profile
If you have a problem with coloring of CString, can you try the suggested modification to Misc\\stdafx.h in this topic:

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

Whole Tomato Software, Inc.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 18 2004 :  10:18:41 AM  Show Profile
Haven't had time to try your fix, but something seems to have changed, because the CString's I described above are now sometimes blue (classes colour) and sometimes grey (variables colour). Not black now.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 18 2004 :  10:26:10 AM  Show Profile
CTime sometimes seems to have the same problem too.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

CanopenR
Junior Member

USA
19 Posts

Posted - Mar 25 2004 :  11:07:17 AM  Show Profile
I think I found a fix. This what I did.
I Uninstalled all version on VA on the my system. I had VA 4, 6, & X be sue to delete the folders also.
I then delete the registry setting for whole tomato in the HCL & HCU.
I started all IDE effected eVC, VC, & .net.
I then rebooted.
I then installed 1221 of VA X.
At this point I still had the problem.
I then did a Rebuild, clear & reset in VA X under Performance.
Ii then close my IDE and restarted.
The problem seem to have gone away, but I am now having a few intellsnyc problems with some objects like ClistCtl

Hope this helps you all.
CanopenR

________
___/___/
__/___
_/___/anopenR

Edited by - CanopenR on Mar 25 2004 11:10:48 AM
Go to Top of Page

asmout
Ketchup Master

58 Posts

Posted - Mar 25 2004 :  6:00:20 PM  Show Profile
I am also experiencing similar weirdness.

For some reason, my copy of VAX (1221 on VC6) has taken a dislike to the integer variable name "y0", and decides to highlight it in red, whilst it happily shows the integer "x0" in grey on the next line!

The file compiles, so this cannot be an "invalid syntax confuses the parser" type bug.

In general, I get quite unreliable syntax highlighting in 1221.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000