Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Incorrect error underline on mutiline macros

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
MichaelC Posted - Dec 12 2010 : 6:16:40 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Dec 13 2010 : 5:56:11 PM
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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000