At 11:02 AM 7/7/2006, you wrote:
>The "What's new" of VEDIT 6.15 says
>
>(1)
>New {EDIT, Sort, Sort lines & remove dupes} performs a simple sort of all lines in a file (or highlighted block). After sorting, all duplicate lines are deleted from the file.
>
>(2)
>New {EDIT, Sort, Sort lines by length} sorts the entire file by the length of the lines.
>
>
>And the short info in the status line reads:
>
>(3) "Sort lines and remove duplicate lines"
>(4) "Sort lines in file (or block) by length"
>
>
>Unfortunately the underlying macros doesn't exactly do that.
>
>- The former one restricts the sort to a highlighted block but removes dupes always in the whole file.
>
>- The latter one doesn't work on blocks at all, only on the whole file.
>
>
>So I fixed/enhanced both macros:
>
>http://www.ziemski.net/vedit/macros/sortlength.vdm
>http://www.ziemski.net/vedit/macros/sortdupe.vdm
>
>and would suggest adding a "(or block)" to the lines of (1), (2) and (3) above.
I have incorporated the new macros with a few cosmetic changes.
And updated the on-line help and status line messages.
Thank you.
Ted.
|
|