Block mode sorting

Ideas for new features

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

Post Reply
ulogic
Posts: 7
Joined: Sun Jun 24, 2007 1:20 pm

Block mode sorting

Post by ulogic »

I just recently upgraded from 4.7.3 to 5.1.0. I bypassed the 5.0.x versions because of the multiple instance window placement issue which was fixed in 5.1.0.

One feature from 4.7.3 that I sorely miss in 5.1.0 is sorting by a selected column block. Specifically, going in to block select mode, selecting a number of columns and lines, then hitting F9 to sort. In 4.7.3, the selected lines are sorted based on the selected column range. In 5.1.0, I have to go out of block select mode, click on the first character where I want the sort to begin and note the column number in the status bar, select the number of columns I want to sort on, note that value on the status bar, then reselect the lines I want to sort, hit F9 to sort, then plug in the values I noted previously.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

That still works with my copy of 5.1.
ulogic
Posts: 7
Joined: Sun Jun 24, 2007 1:20 pm

Post by ulogic »

I am able to get it to work some of the time, but it is inconsistent. I have numerous files where it won't work. However, if I select all and copy to the clipboard and paste into a new document, I can sort on a selected block.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

In what sense does it not work?

Can you provide an example on which it doesn't work?
ulogic
Posts: 7
Joined: Sun Jun 24, 2007 1:20 pm

Post by ulogic »

When it works, a dialog window opens with the title "Sort Selected Column". When it doesn't work, nothing happens when I hit F9 or use Tools->Sort from the menu.

I just figured it out. My default font for TXT files is MS Mincho. If I change to a different font, it works.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Is MS Mincho a variable-pitch font? Sorting on a selected column isn't available when you're using a variable-pitch font; when you are, it isn't clear exactly what a column is.
ulogic
Posts: 7
Joined: Sun Jun 24, 2007 1:20 pm

Post by ulogic »

MS Mincho is a fixed width font used with East Asian languages. The corresponding variable width font is called MS PMincho. The ANSI characters <= 255 are essentially the same except for the backslash character which displays as the Yen currency symbol.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

In that case, I have no idea why TextPad is not treating it as a fixed-pitch font.

Stephen...?
Post Reply