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
 surround selection on / deletes blank lines
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Whole Tomato Software

United Kingdom
18942 Posts

Posted - Mar 29 2004 :  08:13:12 AM  Show Profile
using VAX 1223 and VS .NET 2003

this is a strange one, since it only happens on some code blocks.

i have added a new cpp file to my project, and i paste in the text:

void func()
{
    // make it easier to type / read
    nSize = pstSpecimenLine->nSize;
    ppszVector = pstSpecimenLine->ppszVector;

    nColumn = 0;
    fprintf(fp, "<TR>");
}


there are no blank lines at the top or the bottom of the file. now select the 6 lines of code inside the curly brackets, and press / to mark them as comments.

my file becomes:

void func()
{
//  // make it easier to type / read
//  nSize = pstSpecimenLine->nSize;
//  ppszVector = pstSpecimenLine->ppszVector;
//  nColumn = 0;
//  fprintf(fp, "<TR>");
}


with the central 5 lines highlighted. some other blocks of code dont have this problem

this is rather unhelpful, since i use blank lines to structure my code into logical pieces.

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