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
 Feature Requests
 Bug in 'Change signature'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

_david_
New Member

Czech Republic
2 Posts

Posted - Jan 09 2008 :  08:56:10 AM  Show Profile  Reply with Quote
If the feature 'Change Signature' is used, all comments between signature (declaration of the function) and the bracket at the beginning of the function body are removed.

Before:
//---------------------------
void CClass::Function(int a)
//---------------------------
{
...
}

After:
//---------------------------
void CClass::Function(int b)
{
...
}

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 09 2008 :  1:07:32 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=11242

Do you have a lot of code like this? Or does this only happen occasionally?

Copying the comment that gets deleted, so that it will show up in VA's CTRL-SHIFT-V paste menu should help a bit, so that it is easy to re-add after using Change Signature

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

_david_
New Member

Czech Republic
2 Posts

Posted - Jan 10 2008 :  04:44:51 AM  Show Profile  Reply with Quote
Thanks for your answer.
To your question: Yes, I have a lot of a code like this, because I use comments between function declaration and body very often. And it happens it every such a case.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 10 2008 :  5:45:14 PM  Show Profile  Reply with Quote
I have put this down as a high priority bug fix, but unfortunately I am not sure when it will be fixed.

You may find using CTRL-X and then CTRL-V to cut and paste just the function signature line to below the comment before running Change Signature helps.

zen is the art of being at one with the two'ness
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