[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort

In message <cdf1733b58.fjgraute@xxxxxxxxx>
          Fred Graute <fjgraute@xxxxxxxxx> wrote:

> In message <583b098ab0dave@xxxxxxxxxxxxx>
>           Dave <dave@xxxxxxxxxxxxx> wrote:

>> In article <583adf9cbcLists@xxxxxxxxxxx>,
>>    Richard Torrens (lists) <Lists@xxxxxxxxxxx> wrote:
>> [Snippy]
>>> We all live with the present situation: it takes a Zap user to make any
>>> big ripples! Yes perhaps the error is a bit confusing for some, but only
>>> on the EOF case I think.
>> Us damn Zap users, nothing but trubble... ;-)

> That's okay, they just haven't found the one true editor yet. :-P

>> But in a serious mode... :-)
>> I not only use Zap on RISC OS, but my Go-to advanced text editor on the
>> Windows side is EditPad, in which the same list, sans the final LF, sorted
>> perfectly okay... But interestingly EditPad had added a single LF at the
>> end of the block after the sort.

> Zap adds an LF too, or, more pedantically, the external program that Zap
> uses for sorting does. :-)

> Anyway, StrongED now sorts too if there is no LF at the end of the last
> line, and with no extra LF added (managed to move brain sideways ;-).

Mow that gets me curious. If the last line, without an LF to terminate it, 
ends up in the middle of the sorted block, doesn't it get concatenated 
with the following line?

> Cheers,
> Fred.

Alan Adams, from Northamptonshire