spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 05 2004 : 8:28:48 PM
|
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? |
|