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 parameter bolded
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

papacharchabil
New Member

2 Posts

Posted - Oct 25 2005 :  04:33:12 AM  Show Profile  Reply with Quote
Hello,

This post is different from the one below having the same title.

This problem happens if the function im in takes as parameter a pointer to a function.

Lets take an example:

typedef struct myStruct myStruct;
typedef struct ACTION ACTION;

myStruct * OpenStruct(
char* (*pfnFunction)(void *),
char* (*pfnNewItemFunction)(void *),
short (*pfnCallback)(MISHORT,ACTION*),
long lMax,
short iItemPerBlock
);

When im typing lets say:

OpenStruct(pfn1, pfn2, pfn3,

and i do a CTRL + SHIFT + SPACE the incorrect parameter get bolded. This is due to incorrect parsing of the function prototype in case it takes pointer to functions as parameter.

VA_X.dll file version 10.1.1428.0 built 2005.10.19
2006.01.10
VAOpsWin.dll version 1.3.3.0
VATE.dll version 1.0.4.2
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
4 processors

Platform: Custom
Stable Includes:
d:\\program files\\microsoft visual studio .net 2003\\vc7\\include;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\include;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include\\prerelease;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include;
d:\\program files\\microsoft visual studio .net 2003\\sdk\\v1.1\\include;

Library Includes:
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\mfc;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\atl;
d:\\program files\\microsoft visual studio .net 2003\\vc7\\crt\\src;

Other Includes:



Regards

Edited by - papacharchabil on Oct 25 2005 04:44:41 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 26 2005 :  7:21:32 PM  Show Profile  Reply with Quote
you can get the same problem calling qsort when you reach the 4th parameter, the function pointer

case=475

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

support
Whole Tomato Software

5566 Posts

Posted - Jun 19 2006 :  5:21:16 PM  Show Profile  Reply with Quote
Fixed in build 1524:

Bolding within parameter info no longer confused by function pointers. (case=475)
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