[Top][All Lists]

[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, 5 Aug 2014 09:19:27 -0700

On 7/1/14, Mark Majeres <address@hidden> wrote:
>>> 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

Hi Benno,

Attached is an updated version of the wrapping and justification of
text with undo/redo.

is_empty() was reworked to ignore the quote string

--Mark Majeres

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

reply via email to

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