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
 1242/.NET2K3: Sorting deletes blank lines
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jul 08 2004 :  12:49:11 PM  Show Profile
Enter the following text:

And tell the pleasant Prince this mock of his
Hath turned his balls to gunstones, and his soul
Shall stand sore charged for the wasteful vengeance





That shall fly from themG??for many a thousand widows
Shall this his mock mock out of their dear husbands,
Mock mothers from their sons, mock castles down!


Then select all this text, and click the 'Vax, Tools, Sort' menu item.
You end up with this:

And tell the pleasant Prince this mock of his
Hath turned his balls to gunstones, and his soul
Mock mothers from their sons, mock castles down!
Shall stand sore charged for the wasteful vengeance
Shall this his mock mock out of their dear husbands,
That shall fly from themG??for many a thousand widows


The sorting is correct, but it deleted my empty lines. It shouldn't do that.

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Jul 08 2004 :  1:25:34 PM  Show Profile
What should it do? Sort them all to the top of the section?

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

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jul 08 2004 :  3:41:28 PM  Show Profile
I guess so. What it should *not* do is delete lines of source code, not even blank ones, for two reasons.

First, philosphical: a blank line is like any other line. Why would it get special treatment?

Second, practically: whether it's intentional or not, it *looks* like a bug.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 08 2004 :  6:26:24 PM  Show Profile
We see Larry's points.

case=166

Whole Tomato Software, Inc.
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