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
 Pressing '/' to insert // fails...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CreyBax
New Member

3 Posts

Posted - Nov 01 2004 :  1:38:18 PM  Show Profile
VA_X.dll file version 10.0.1278.0

When selecting the last x lines of a file & pressing '/' to put a comment sign ( // ) in front of all, this fails, if the last selected line is the last line of the file.

Greetings, Ralph

rblondeau
Tomato Guru

Canada
102 Posts

Posted - Nov 01 2004 :  2:08:44 PM  Show Profile
I've found that the same thing happens even with extra lines at the bottom of a file. For example:

Ensure that there are no trailing spaces at the end of the last line in the file. Place the caret at the end of the last line and hit enter a couple of times. Place the caret back at the end of the last line (from above) and press <shift><up arrow> a few times to select the last non-blank line and a few above it.

Now press / and you will find that all of the lines except for the last non-blank line in the file will have a // placed at the beginning of the file.

I'm using VAX 1280 in VS 2002 on Windows XPsp2

Edited by - rblondeau on Nov 01 2004 2:09:55 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Nov 01 2004 :  5:47:31 PM  Show Profile
this sounds familiar, but i cannot find an existing case, so i have added a new one.

case=414

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

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Nov 02 2004 :  05:17:52 AM  Show Profile
Maybe you're thinking of thread 1424.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Nov 02 2004 :  10:09:14 AM  Show Profile
I just tried this and thought that I was having no problem commenting the last line but found that there was a new line after the last line (so the last line was actually blank)
But in the process of trying this I found a really strange behaviour. If the first line I highlighted started with // (I put a string of //////////// above each function so I can find them) then nothing gets commented out and the two of the / get removed from the first line. If I start highlighting above the line of ///// then everything gets commented out including the //// (except the last line.)

Ken
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Nov 02 2004 :  6:46:06 PM  Show Profile
Ken, this goes wrong in the middle of a file, so it is a seperate issue.

case=420

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