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
 1527: Macro param coloring
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jul 03 2006 :  1:04:03 PM  Show Profile  Reply with Quote
huh?


-bugfix

http://www.mf-sd.de

mmb
Senior Member

42 Posts

Posted - Jul 03 2006 :  4:39:21 PM  Show Profile  Reply with Quote
Was it ever different? We have a lot of more or less complicated macros in our project and most of them looks this way.

I would guess that if the macro parameter is a name of a local/global variable somewhere it is bold/normal or otherwise even "not enhanced" like args.

Happens in both VC6 and VC2005.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 03 2006 :  6:40:26 PM  Show Profile  Reply with Quote
mmb's observation is correct.

VA X makes some reasonable guesses while coloring preprocessor macros. The only other option is to not color them at all.
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jul 04 2006 :  11:39:21 AM  Show Profile  Reply with Quote
Ok.. not using macros that much I prefer templates when possible:)
Anyways, why is name colored twice as variable and one time as type?

http://www.mf-sd.de
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jul 18 2006 :  01:14:20 AM  Show Profile  Reply with Quote
If you disable VA, you get



Still weird, even without VA (notice the first "#" in the stringify operator).

Joe Pizzi
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jul 18 2006 :  03:15:03 AM  Show Profile  Reply with Quote
vs2003 vax disabled:


vs2003 w/ my beloved vax build 1301:)

here vax colors name as variable b/c it finds: wxThemeInfo.name | wxString name
and args is colored b/c of: System.Runtime.Remoting.Messaging.MethodCall.args | System.Object[] args : System.Object[] args

but at least it's consistent! 1301 parser still outperforms any later builds for c++.

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 18 2006 :  7:33:05 PM  Show Profile  Reply with Quote
maybe, but as someone who spends quite a lot of time reproducing bugs in VA i can assure you 1301 had its share of problems :)

i still remember the regular posts about poor template support from the parser.

still, to put things in perspective, try using a machine that does not have VA installed *shudder* now that is an unpleasant experience!

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jul 20 2006 :  05:11:58 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

maybe, but as someone who spends quite a lot of time reproducing bugs in VA i can assure you 1301 had its share of problems :)

i still remember the regular posts about poor template support from the parser.


From my expierince 1301 does a much better job when it comes to templates and smartptr and I use those extensively.
quote:
still, to put things in perspective, try using a machine that does not have VA installed *shudder* now that is an unpleasant experience!


No I wont try:)

http://www.mf-sd.de
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