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
 Highlight matching {} and ()??
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mike6900
Junior Member

13 Posts

Posted - Aug 15 2005 :  12:55:30 PM  Show Profile  Reply with Quote
Is this feature supposed to work when defining macros?

.c file contains:

#define PTT_CFG_VALID_FILE_NAME(fileName) ((fileName != NULL) AND !(strlen(fileName) > FSX_NAME_MAX))




Visual Studio 6

VA_X.dll file version 10.1.1418.0 built 2005.06.24
Licensed to:
VA X:
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier New 15(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
2 processors

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 15 2005 :  5:11:51 PM  Show Profile  Reply with Quote
i would have expected this to work on macro's, but apparently it does not. delete the "#define" from the start of the line and it starts working.

case=716

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

Admin
Whole Tomato Software

USA
74 Posts

Posted - May 30 2006 :  11:41:11 PM  Show Profile  Reply with Quote
Behavior is by design.

Highlight matching does not occur in #defines since there is no requirement that braces and parens be balanced in macros.
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