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
 Incorrect error underline on mutiline macros
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MichaelC
New Member

3 Posts

Posted - Dec 12 2010 :  6:16:40 PM  Show Profile  Reply with Quote
Visual Assist incorrectly highlights macros with multiline parameters as errors if the opening parenthesis for the macro is not on the same line as the macro name:


#define IGNORE_THIS_TEXT( ... )

IGNORE_THIS_TEXT( This works just fine! )

IGNORE_THIS_TEXT(
	This also works perfectly!
);

IGNORE_THIS_TEXT
(
	However, this is (incorrectly) highlighted as an error!
);


Is it easy to fix this? If so, how soon can fix be expected?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 13 2010 :  5:56:11 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description:

case=53271

Anyway, the parameters aren't underlined if you use valid symbols for the them or you put quotation marks around the text.
Out of interest: are you using style like this?
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