nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] wrap and justification


From: Mark Majeres
Subject: Re: [Nano-devel] wrap and justification
Date: Tue, 1 Jul 2014 13:25:23 -0700

>> On 6/29/14, Benno Schulenberg <address@hidden> wrote:
> Yes, that would be nice.  It's beautiful to have a separate patch
> that "rewrites" all of the justification code as just a few calls
> to the wrapping code.
>
>> And like you mention, the removed
>> spaces will be missing in future wraps, or justification.
>
> But justification will will leave trailing spaces at all the ends
> of the justified lines, and double trailing spaces if a sentence
> ends there (and the original contains a double space).  So it
> will never lose a double space, it just will not create any.

Benno,

Three patches are attached.  One of the three is the combination of
the remaining two.

The wrap patch works on it's own, but the justify patch will not even
compile without the wrap patch.

The justification is now considering a quote string.

I'm not understanding if you prefer the tabs and multiple spaces
converted into single spaces or if you prefer the way it is being done
in my patch.

--Mark Majeres

Attachment: justify.5049.patch
Description: Text Data

Attachment: wrap.5049.patch
Description: Text Data

Attachment: wrap.justify.5049.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]