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
 partial #if 0 colouring solution
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 29 2004 :  08:26:42 AM  Show Profile
inspired by a comment by LarryLeonard i have just added the following templates for C/C++ to VAX:

#if:
#if 0   //{{AFX_COMMENTED_OUT-?
#en:
#endif  //}}AFX_COMMENTED_OUT-?


add in setting the "Wizard code" to a similar green colour to normal comments, and now all of the code in my #if 0, #endif blocks is coloured in as comments

so for the other people out there who also wanted this, this is how you do it :) admittedly you need to do slightly more editing when toggling between #if 0 and #if 1, but it is a good start

zen is the art of being at one with the two'ness

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Apr 29 2004 :  08:36:34 AM  Show Profile
Yes, it's a nice hack, but it doesn't work for code other people have written. I'd still rather see VA do the right thing, but I've said enough about that in many previous threads.

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

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Apr 29 2004 :  10:07:05 AM  Show Profile
i fully agree with you on this, but at least this is something

zen is the art of being at one with the two'ness
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