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
 VAX 1246: sort selected lines not working
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jul 21 2004 :  1:18:33 PM  Show Profile
VS2003.Net - when the selection includes the last line and the file does not end with a empty line, sort selected lines does not work. It does nothing.
After inserting a empty line after the last line, it works again as expected.

support
Whole Tomato Software

5566 Posts

Posted - Jul 21 2004 :  6:12:42 PM  Show Profile
If you select any set of lines, yet not select the entire last line of the set, all but the last line are sorted. The last line is left alone. This is by design, since one does not sort half a line. (A rhyme?)

This appears to happen at EOF when your file does not end with a EOL character.

Perhaps all but the last line were sorted for you.

Assuming our assessment is correct, we should probably make an exception at EOF. VA X could auto-add an EOL at EOF.

case=177

Edited by - support on Jul 21 2004 6:13:04 PM
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