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
 commenting out with /
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Apr 17 2008 :  12:11:20 PM  Show Profile  Reply with Quote
I use the highlight and / to comment out things all the time and sometimes even for a single line.
This problem has been around a while, but I just today figured out to make it happen consistently.
If you add a comment at the end of a line and then highlight it and comment out the line with a slash, then the line is replaced with the slash. Pressing ctrl-z and / again does what you hoped for in the first place.

VA_X.dll file version 10.4.1632.0 built 2008.04.03
Licensed to:
VA X: [email protected] (1-user license) Support ends 2008.09.11
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Verdana 16(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Ken

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Apr 18 2008 :  08:09:15 AM  Show Profile  Reply with Quote
Can you be a little more detailed in your description? So far I cannot reproduce this problem. Working in C++ I started with this code:

static void testGeneralCode()
{
	int nFoo;
}


Then I added a comment after the variable, giving me:

static void testGeneralCode()
{
	int nFoo;	// comment here
}


then using the keyboard I selected the entire line (I tried both Shift + Up arrow and Shift + Down arrow) and then pressed / to comment out the line. The line is always commented out correctly for me.

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

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Apr 22 2008 :  4:48:10 PM  Show Profile  Reply with Quote
Well, today and in the file in which I am currently working it work as expected. I was highlighting with the mouse, but that works too. I will let you know if it happens again.
Sorry about the false alarm.
Ken

Ken
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