Sort by line length

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
davidpowell
Posts: 3
Joined: Fri Aug 11, 2006 1:52 pm

Sort by line length

Post by davidpowell »

Are there any plans to modify the sort feature to allow sorting by line length? If not, I'd like to suggest it, as I would use it a lot. I can't figure out any way to do that in the current version of TextPad.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Try these steps

1. Select All
2. Edit Align Right
3. Tools Sort Ascending
4. Edit Align Left
Hope this was helpful.............good luck,
Bob
davidpowell
Posts: 3
Joined: Fri Aug 11, 2006 1:52 pm

By golly, it (almost) works!

Post by davidpowell »

Thanks - hadn't thought of changing the alignment. That works great, as long as the maximum line length is 150 characters or less. It seems to want to use 150 for the right margin, no matter what I set the right margin value to. Is that a bug?
davidpowell
Posts: 3
Joined: Fri Aug 11, 2006 1:52 pm

Never mind the "almost"

Post by davidpowell »

Never mind about the "almost" part, didn't have the box checked beside where it says "Word break at column number:". :oops: I guess it must use 150 for the default when that box is not checked. Now it works perfectly! Thanks, I've been needing this for a long time! :D
Post Reply