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
 Possible bug/feature: Surround->Comment
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

spectecjr
Ketchup Master

USA
64 Posts

Posted - Apr 05 2004 :  8:28:48 PM  Show Profile
What exactly is the VAssistX->Surround->Comment menu command supposed to do and behave like?

Say I have this code:

LRESULT MsgHandler(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
return 0;
}

... if I don't use the variables, I should comment them out like this:


LRESULT MsgHandler(UINT /*nMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
return 0;
}

... but if I try to do that by selecting (say) bHandled, and choosing the Surround->Comment command, I get this:

(Selection is delimited by [[ and ]] here)

LRESULT MsgHandler(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& [[bHandled]])
{
return 0;
}

becomes:

LRESULT MsgHandler(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& //bHandled)
{
return 0;
}

... which, needless to say, isn't quite what I expected.

Is this expected behavior? Or a bug?

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Apr 05 2004 :  11:23:07 PM  Show Profile
Try highlight the thing you want commented out and pressing the * key instead of the / key. That works on mine anyway.

Ken
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