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
 1244: "Show comment from source" bug
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jul 10 2004 :  3:43:18 PM  Show Profile
Imagine you have this codebit:

// Global functions
void foo(void);
BOOL MyBooler(char *Laughter);
int foo2(int foo2parameter);

and have "Display comments from source files when available" checked (VAX-Options -> Text Editor -> C/C++).

Hover over the first declaration gives you

void foo(void);

// Global functions

in the tooltip...

But this works only for the first 2 Lines!
Hovering over int foo2(int foo2parameter); gives you this:

int foo2(int foo2parameter);

Notice the missing "Display comments from source files although available"

Is reproducable here, only the first 2 lines of declarations after a comment are shown with this comment
(doesn't matter if it's a function- or variable-declaration).

support
Whole Tomato Software

5566 Posts

Posted - Jul 11 2004 :  11:16:14 AM  Show Profile
If we understand you correctly, you report two problems. First, comments do not apply to declarations beyond the second in a list.

Is the second problem that, "Display comments from source..." is not working? We believe it might be broken. We need to do some more testing.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=2563

Whole Tomato Software, Inc.
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jul 11 2004 :  2:37:33 PM  Show Profile
Well, kind of...

In this animated GIF, you'll see that only the first 2 functions show it's comment:


It always shows this behaviour in my "own" functions.
Here is the Tooltip for strcpy:

It shows the comment.

Here, it doesn't (sprintf):


So it works sometimes... or did I just find out that not every Standard-C-Function has a comment?

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