[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] softwrap without breaking words
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] softwrap without breaking words |
Date: |
Tue, 26 Aug 2014 18:37:49 -0700 |
On 8/26/14, Benno Schulenberg <address@hidden> wrote:
>
> Hello Mark,
>
> On Tue, Aug 26, 2014, at 19:03, Mark Majeres wrote:
>> If the routine finds blank spaces or tabs at the head of the string
>> and this turns out to be the only blank location then it is not the
>> location I want. It's noticeable with the Changelog open and then
>> reducing the window size to a minimal width.
>
> Hmm... The minimal minimum width is four. When I reach that
> (with softwrap enabled and the posted patch applied) then nano
> goes into an infinite loop and hangs.
>
the smallest I can make my window is about 20 chars, but if it works
down to 4 chars that seems pretty ok to me. It may fail after the
column width of the window is less than the quote length.
> With debug enabled, there is this at the tail of the trail:
>
> update_line(): softwrap code, moving to 35317 index 0
> update_line(): converted(2) line =
> update_line(): softwrap code, moving to 35318 index 0
> update_line(): converted(2) line =
> update_line(): softwrap code, moving to 35319 index 0
> update_line(): converted(2) line =
> update_line(): softwrap code, moving to 35320 index 0
> update_line(): converted(2) line =
> update_line(): softwrap code, moving to 35321 index 0
> update_line(): converted(2) line =
>
>> no, the flag is set and edit_refresh() will be called after exiting
>> the function when it matters
>
> Does that mean that the call of edit_refresh() just before
> exiting this function is superfluous?
>
no, the function do_output is called for several other code paths
--Mark Majeres
- [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/13
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/20
- Re: [Nano-devel] softwrap without breaking words, Mark Majeres, 2014/08/20
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/26
- Re: [Nano-devel] softwrap without breaking words, Mark Majeres, 2014/08/26
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/26
- Re: [Nano-devel] softwrap without breaking words,
Mark Majeres <=
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/27
- Re: [Nano-devel] softwrap without breaking words, Mark Majeres, 2014/08/27
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/27
- Re: [Nano-devel] softwrap without breaking words, Benno Schulenberg, 2014/08/27
- Re: [Nano-devel] softwrap without breaking words, Mark Majeres, 2014/08/27
- [Nano-devel] some overcolouring with softwrap, Benno Schulenberg, 2014/08/28
- Re: [Nano-devel] some overcolouring with softwrap, Benno Schulenberg, 2014/08/28
- Re: [Nano-devel] some overcolouring with softwrap, Mark Majeres, 2014/08/31