Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 commenting out with /

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Old as dirt Posted - Apr 17 2008 : 12:11:20 PM
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;
2   L A T E S T    R E P L I E S    (Newest First)
Old as dirt Posted - Apr 22 2008 : 4:48:10 PM
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
feline Posted - Apr 18 2008 : 08:09:15 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000