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
 Feature Requests
 Sort selected lines case insensitive
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Captain
New Member

Russia
2 Posts

Posted - Jul 14 2009 :  04:32:15 AM  Show Profile  Reply with Quote
Please make "Sort selected lines" case insensitive

drac
Senior Member

Germany
49 Posts

Posted - Jul 14 2009 :  05:04:18 AM  Show Profile  Reply with Quote
+1 vote.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17592 Posts

Posted - Jul 16 2009 :  4:02:22 PM  Show Profile  Reply with Quote
Are you wanting sort lines to always be case insensitive, so a registry key option could turn this on and off, or are you looking for two separate commands, one case sensitive and one case insensitive?

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

drac
Senior Member

Germany
49 Posts

Posted - Jul 20 2009 :  05:48:13 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Are you wanting sort lines to always be case insensitive, so a registry key option could turn this on and off, or are you looking for two separate commands, one case sensitive and one case insensitive?



Two options would be ideal: "Sort Selected Lines" and "Sort Selected Lines (case insensitive)", but a registry key would also be fine since I always want case insensitive comparison.

The comparison should use the locale settings for example:
Kuh
Arzt
B+?r
+?rzte

is sorted:
Arzt
B+?r
Kuh
+?rzte

instead of
Arzt
+?rzte
B+?r
Kuh
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17592 Posts

Posted - Jul 20 2009 :  12:19:45 PM  Show Profile  Reply with Quote
I have put in a feature request for an option to set Sort Selected Lines to be case insensitive:

case=29858

For now you should be able to do this with an IDE macro. This macro shows how to grab several selected lines and do something with them:

http://support.wholetomato.com?W445

using this as a start point it should not be to difficult to grab the selected lines and sort them in memory. Then you just need to replace the selected text with the sorted text.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2016 :  10:44:44 PM  Show Profile  Reply with Quote
case=29858 is implemented in build 2107.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000